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
PropertyGridItemBase
|
Overrides
Editor
ExpanderElement
Gets the property grid item expander element.
Declaration
public PropertyGridExpanderElement ExpanderElement { get; }
Property Value
PropertyGridExpanderElement
|
HeaderElement
Gets the header element of the PropertyGridItemElement.
Declaration
public PropertyGridRowHeaderElement HeaderElement { get; }
Property Value
PropertyGridRowHeaderElement
|
IndentElement
Gets the property grid item indent element
Declaration
public PropertyGridIndentElement IndentElement { get; }
Property Value
PropertyGridIndentElement
|
IsChildItem
Gets or sets a value indicating whether this item has a parent or not.
Declaration
public bool IsChildItem { get; set; }
Property Value
System.Boolean
|
IsInEditMode
Declaration
public bool IsInEditMode { get; }
Property Value
System.Boolean
|
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.Boolean
|
IsReadOnly
Gets or sets a value indicating whether this property can be edited.
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean
|
TextElement
Gets the property grid item text element.
Declaration
public virtual PropertyGridContentElement TextElement { get; }
Property Value
PropertyGridContentElement
|
ValueElement
Gets the property grid item value element
Declaration
public PropertyGridValueElement ValueElement { get; }
Property Value
PropertyGridValueElement
|
Methods
AddEditor(IInputEditor)
Attach(PropertyGridItemBase, Object)
Attaches a logical item to this visual element.
Declaration
public override void Attach(PropertyGridItemBase data, object context)
Parameters
PropertyGridItemBase
data
The logical item. |
System.Object
context
The context. |
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreatePropertyGridExpanderElement()
Declaration
protected virtual PropertyGridExpanderElement CreatePropertyGridExpanderElement()
Returns
PropertyGridExpanderElement
|
CreatePropertyGridIndentElement()
Declaration
protected virtual PropertyGridIndentElement CreatePropertyGridIndentElement()
Returns
PropertyGridIndentElement
|
CreatePropertyGridRowHeaderElement()
Declaration
protected virtual PropertyGridRowHeaderElement CreatePropertyGridRowHeaderElement()
Returns
PropertyGridRowHeaderElement
|
CreatePropertyGridTextElement()
Declaration
protected virtual PropertyGridTextElement CreatePropertyGridTextElement()
Returns
PropertyGridTextElement
|
CreatePropertyGridValueElement()
Declaration
protected virtual PropertyGridValueElement CreatePropertyGridValueElement()
Returns
PropertyGridValueElement
|
Detach()
Detaches the currently attached logical item.
Declaration
public override void Detach()
Overrides
GetEditorElement(IValueEditor)
Declaration
protected RadItem GetEditorElement(IValueEditor editor)
Parameters
IValueEditor
editor
|
Returns
RadItem
|
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
PropertyGridItemBase
data
The logical item to be checked for compatibility. |
System.Object
context
The context. |
Returns
System.Boolean
|
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.Drawing.Point
location
The point to check for. |
Returns
System.Boolean
true if point is in location for resize otherwise false. |
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
RemoveEditor(IInputEditor)
Synchronize()
Syncronizes changes with other elements.
Declaration
public override void Synchronize()