ClassPropertyGridItemElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PropertyGridItemElement : PropertyGridItemElementBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<PropertyGridItemBase>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementPropertyGridItemElementBasePropertyGridItemElement
Derived Classes:
Implements:
Inherited Members
Constructors
PropertyGridItemElement()
Declaration
public PropertyGridItemElement()
Fields
IsInEditModeProperty
Declaration
public static RadProperty IsInEditModeProperty
Field Value
Properties
Data
Gets the logical item attached to this visual element.
Declaration
public override PropertyGridItemBase Data { get; }
Property Value
Overrides
ExpanderElement
Gets the property grid item expander element.
Declaration
public PropertyGridExpanderElement ExpanderElement { get; }
Property Value
HeaderElement
Gets the header element of the PropertyGridItemElement.
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.
IsModified
Gets or sets a value indicating whether this item has changed its value or not.
IsReadOnly
Gets or sets a value indicating whether this property can be edited.
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)
Declaration
public virtual void AddEditor(IInputEditor editor)
Parameters
editor
Attach(PropertyGridItemBase, object)
Attaches a logical item to this visual element.
Declaration
public override void Attach(PropertyGridItemBase data, object context)
Parameters
data
The logical item.
context
The context.
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
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
editor
Returns
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
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
data
The logical item to be checked for compatibility.
context
The context.
Returns
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.
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseMove(MouseEventArgs)
Called when the mouse moves over the item, handling highlight and border highlight effects.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
RemoveEditor(IInputEditor)
Declaration
public virtual void RemoveEditor(IInputEditor editor)
Parameters
editor
Synchronize()
Syncronizes changes with other elements.
Declaration
public override void Synchronize()
Overrides