ClassPropertyGridItemBase
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class PropertyGridItemBase : INotifyPropertyChanged
Inheritance: objectPropertyGridItemBase
Derived Classes:
Implements:
Constructors
PropertyGridItemBase(PropertyGridTableElement)
Declaration
public PropertyGridItemBase(PropertyGridTableElement propertyGridElement)
Parameters
propertyGridElement
Fields
Properties
ContextMenu
Gets or sets the context menu associated to the item.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
Returns an instance of RadDropDownMenu that is associated with the item. The default value is null.
Remarks
This property could be used to associate a custom menu and replace the property grid's default. If the context menu is invoked by right-clicking an item, the property grid's menu will not be shown and the context menu assigned to this item will be shown instead.
Description
Gets or sets the description associated with this item.
Enabled
Gets or sets a value indicating whether the item can respond to user interaction.
Declaration
public virtual bool Enabled { get; set; }
Property Value
The default value is true.
Expandable
Gets a value indicating whether this item is expandable.
Expanded
Gets or sets a value indicating whether this item is expanded.
Declaration
public virtual bool Expanded { get; set; }
Property Value
true if this item is expanded; otherwise, false.
GridItems
Gets the child items list associated with this item.
Declaration
public abstract PropertyGridItemCollection GridItems { get; }
Property Value
Image
Gets or sets the image of the node.
Declaration
[TypeConverter(typeof(ImageTypeConverter))]
public virtual Image Image { get; set; }
Property Value
ImageIndex
Gets or sets the left image list index value of the image displayed when the tree node is not selected.
Declaration
[RelatedImageList("PropertyGrid.ImageList")]
[TypeConverter("Telerik.WinControls.UI.Design.NoneExcludedImageIndexConverter, Telerik.WinControls.UI.Design, Version=2026.1.217.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e")]
public virtual int ImageIndex { get; set; }
Property Value
ImageKey
Gets or sets the key for the left image associated with this tree node when the node is not selected.
Declaration
[RelatedImageList("PropertyGrid.ImageList")]
[TypeConverter("Telerik.WinControls.UI.Design.RadImageKeyConverter, Telerik.WinControls.UI.Design, Version=2026.1.217.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e")]
public string ImageKey { get; set; }
Property Value
ItemHeight
Gets or sets the height of the item.
Declaration
public int ItemHeight { get; set; }
Property Value
The default value is 20.
Label
Gets or sets the text associated with this item.
Level
Gets a value indicating how deep in the hierarchy this propety is.
Name
Gets the property name
Parent
Gets the parent item for this item.
Declaration
public virtual PropertyGridItemBase Parent { get; }
Property Value
PropertyGridTableElement
Gets the parent property grid that the item is assigned to.
Declaration
public virtual PropertyGridTableElement PropertyGridTableElement { get; }
Property Value
Selected
Gets or sets a value indicating whether this item is selected.
Declaration
public virtual bool Selected { get; set; }
Property Value
true if this item is selected; otherwise, false.
Tag
Gets or sets the tag object that can be used to store user data, corresponding to the item.
Declaration
public virtual object Tag { get; set; }
Property Value
The tag.
ToolTipText
Gets or sets the tool tip text associated with this item.
Methods
EnsureVisible()
Ensures that this item is visible in the content of the RadPropertyGridElement.
Declaration
public virtual void EnsureVisible()
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
public virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs args)
Parameters
args
OnNotifyPropertyChanged(string)
Declaration
public virtual void OnNotifyPropertyChanged(string name)
Parameters
name
ResumePropertyNotifications()
Resumes property notifications after a previous SuspendPropertyNotifications call.
Declaration
public void ResumePropertyNotifications()
SuspendPropertyNotifications()
Allows PropertyChanged notifications to be temporary suspended.
Declaration
public void SuspendPropertyNotifications()
Update(UpdateActions)
Declaration
protected virtual void Update(PropertyGridTableElement.UpdateActions updateAction)
Parameters
updateAction
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements