Class PropertyGridItemElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PropertyGridItemElement : PropertyGridItemElementBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<PropertyGridItemBase>
Constructors
PropertyGridItemElement()
Declaration
public PropertyGridItemElement()
Fields
HasChildrenProperty
IsChildItemProperty
IsInEditModeProperty
IsModifiedProperty
IsReadOnlyProperty
Properties
Data
Gets the logical item attached to this visual element.
Declaration
public override PropertyGridItemBase Data { get; }
Property Value
Overrides
Editor
ExpanderElement
Gets the property grid item expander element.
Declaration
public PropertyGridExpanderElement ExpanderElement { get; }
Property Value
HeaderElement
Gets the header element of the Property
Declaration
public PropertyGridRowHeaderElement HeaderElement { get; }
Property Value
IndentElement
Gets the property grid item indent element
Declaration
public PropertyGridIndentElement IndentElement { get; }
Property Value
IsChildItem
Gets or sets a value indicating whether this item has a parent or not.
Declaration
public bool IsChildItem { get; set; }
Property Value
System.
|
IsInEditMode
Declaration
public bool IsInEditMode { get; }
Property Value
System.
|
IsModified
Gets or sets a value indicating whether this item has changed its value or not.
Declaration
public bool IsModified { get; set; }
Property Value
System.
|
IsReadOnly
Gets or sets a value indicating whether this property can be edited.
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.
|
TextElement
Gets the property grid item text element.
Declaration
public virtual PropertyGridContentElement TextElement { get; }
Property Value
ValueElement
Gets the property grid item value element
Declaration
public PropertyGridValueElement ValueElement { get; }
Property Value
Methods
AddEditor(IInputEditor)
Attach(PropertyGridItemBase, Object)
Attaches a logical item to this visual element.
Declaration
public override void Attach(PropertyGridItemBase data, object context)
Parameters
Property The logical item. |
System. The context. |
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreatePropertyGridExpanderElement()
Declaration
protected virtual PropertyGridExpanderElement CreatePropertyGridExpanderElement()
Returns
CreatePropertyGridIndentElement()
Declaration
protected virtual PropertyGridIndentElement CreatePropertyGridIndentElement()
Returns
CreatePropertyGridRowHeaderElement()
Declaration
protected virtual PropertyGridRowHeaderElement CreatePropertyGridRowHeaderElement()
Returns
CreatePropertyGridTextElement()
Declaration
protected virtual PropertyGridTextElement CreatePropertyGridTextElement()
Returns
CreatePropertyGridValueElement()
Declaration
protected virtual PropertyGridValueElement CreatePropertyGridValueElement()
Returns
Detach()
Detaches the currently attached logical item.
Declaration
public override void Detach()
Overrides
GetEditorElement(IValueEditor)
Declaration
protected RadItem GetEditorElement(IValueEditor editor)
Parameters
IValue
|
Returns
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
IsCompatible(PropertyGridItemBase, Object)
Determines if a logical item is compatible with this visual element.
Declaration
public override bool IsCompatible(PropertyGridItemBase data, object context)
Parameters
Property The logical item to be checked for compatibility. |
System. The context. |
Returns
System.
|
Overrides
IsInResizeLocation(Point)
Gets a value indicating whether a given point is in a location where resize should be initialized when the left mouse button is pressed.
Declaration
public virtual bool IsInResizeLocation(Point location)
Parameters
System. The point to check for. |
Returns
System. true if point is in location for resize otherwise false. |
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.
|
Overrides
RemoveEditor(IInputEditor)
Synchronize()
Syncronizes changes with other elements.
Declaration
public override void Synchronize()