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 Grid
Declaration
public GridColorCellElement(GridViewColumn column, GridRowElement row)
Parameters
Grid An instance of Grid |
Grid An instance of Grid |
Properties
ColorBox
Gets the color box.
Declaration
public ColorEditorColorBox ColorBox { get; }
Property Value
Color The color box. |
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public override void AddEditor(IInputEditor editor)
Parameters
IInput The editor. |
Overrides
ArrangeOverride(SizeF)
Arranges the override.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System. The final size. |
Returns
System.
|
Overrides
CalculateDesiredSize(SizeF, SizeF, SizeF)
Calculates the size of the desired.
Declaration
protected override SizeF CalculateDesiredSize(SizeF availableSize, SizeF desiredSize, SizeF elementsDesiredSize)
Parameters
System. Size of the available. |
System. Size of the desired. |
System. Size of the elements desired. |
Returns
System.
|
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
Grid The data. |
System. The context. |
Returns
System.
|
Overrides
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public override void RemoveEditor(IInputEditor editor)
Parameters
IInput The editor. |
Overrides
SetContentCore(Object)
Sets the actual text of the cell.
Declaration
protected override void SetContentCore(object value)
Parameters
System.
|