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
public PropertyGridItemElement()
Fields
public static RadProperty HasChildrenProperty
public static RadProperty IsChildItemProperty
public static RadProperty IsInEditModeProperty
public static RadProperty IsModifiedProperty
public static RadProperty IsReadOnlyProperty
Properties
Gets the logical item attached to this visual element.
public override PropertyGridItemBase Data { get; }
Overrides:
public IInputEditor Editor { get; }
Gets the property grid item expander element.
public PropertyGridExpanderElement ExpanderElement { get; }
Gets the header element of the PropertyGridItemElement.
public PropertyGridRowHeaderElement HeaderElement { get; }
Gets the property grid item indent element
public PropertyGridIndentElement IndentElement { get; }
Gets or sets a value indicating whether this item has a parent or not.
public bool IsChildItem { get; set; }
public bool IsInEditMode { get; }
Gets or sets a value indicating whether this item has changed its value or not.
public bool IsModified { get; set; }
Gets or sets a value indicating whether this property can be edited.
public bool IsReadOnly { get; set; }
Gets the property grid item text element.
public virtual PropertyGridContentElement TextElement { get; }
Gets the property grid item value element
public PropertyGridValueElement ValueElement { get; }
Methods
Attaches a logical item to this visual element.
public override void Attach(PropertyGridItemBase data, object context)
The logical item.
contextobjectThe context.
Overrides:
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
protected virtual PropertyGridExpanderElement CreatePropertyGridExpanderElement()
protected virtual PropertyGridIndentElement CreatePropertyGridIndentElement()
protected virtual PropertyGridRowHeaderElement CreatePropertyGridRowHeaderElement()
protected virtual PropertyGridTextElement CreatePropertyGridTextElement()
protected virtual PropertyGridValueElement CreatePropertyGridValueElement()
Detaches the currently attached logical item.
public override void Detach()
Overrides:
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Determines if a logical item is compatible with this visual element.
public override bool IsCompatible(PropertyGridItemBase data, object context)
The logical item to be checked for compatibility.
contextobjectThe context.
Returns:Overrides:
Gets a value indicating whether a given point is in a location where resize should be initialized when the left mouse button is pressed.
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when the mouse moves over the item, handling highlight and border highlight effects.
protected override void OnMouseMove(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when a mouse button is released over the item.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments.
Overrides:
Syncronizes changes with other elements.
public override void Synchronize()
Overrides: