Class GridColorCellElement
Cell for displaying and editing colors.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridColorCellElement : GridDataCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewColumn>, IEditableCell, IDataConversionInfoProvider, ITypeDescriptorContext, IServiceProvider
Constructors
GridColorCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridColorCellElement class.
Declaration
public GridColorCellElement(GridViewColumn column, GridRowElement row)
Parameters
GridViewColumn
column
An instance of GridViewColumn. |
GridRowElement
row
An instance of GridRowElement. |
Properties
ColorBox
Gets the color box.
Declaration
public ColorEditorColorBox ColorBox { get; }
Property Value
ColorEditorColorBox
The color box. |
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public override void AddEditor(IInputEditor editor)
Parameters
IInputEditor
editor
The editor. |
Overrides
ArrangeOverride(SizeF)
Arranges the override.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The final size. |
Returns
System.Drawing.SizeF
|
Overrides
CalculateDesiredSize(SizeF, SizeF, SizeF)
Calculates the size of the desired.
Declaration
protected override SizeF CalculateDesiredSize(SizeF availableSize, SizeF desiredSize, SizeF elementsDesiredSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
System.Drawing.SizeF
desiredSize
Size of the desired. |
System.Drawing.SizeF
elementsDesiredSize
Size of the elements desired. |
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
IsCompatible(GridViewColumn, Object)
Determines whether the specified data is compatible.
Declaration
public override bool IsCompatible(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Overrides
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public override void RemoveEditor(IInputEditor editor)
Parameters
IInputEditor
editor
The editor. |
Overrides
SetContentCore(Object)
Sets the actual text of the cell.
Declaration
protected override void SetContentCore(object value)
Parameters
System.Object
value
|