Class PropertyGridItemBase
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class PropertyGridItemBase : INotifyPropertyChanged
Constructors
PropertyGridItemBase(PropertyGridTableElement)
Declaration
public PropertyGridItemBase(PropertyGridTableElement propertyGridElement)
Parameters
|
PropertyGridTableElement
propertyGridElement
|
Fields
IsEnableState
Declaration
protected const int IsEnableState = 8
Field Value
|
System.Int32
|
IsExpandedState
Declaration
protected const int IsExpandedState = 2
Field Value
|
System.Int32
|
IsModifiedState
Declaration
protected const int IsModifiedState = 16
Field Value
|
System.Int32
|
IsVisibleState
Declaration
protected const int IsVisibleState = 4
Field Value
|
System.Int32
|
state
Declaration
protected BitVector32 state
Field Value
|
System.Collections.Specialized.BitVector32
|
SuspendNotificationsState
Declaration
protected const int SuspendNotificationsState = 1
Field Value
|
System.Int32
|
text
Declaration
protected string text
Field Value
|
System.String
|
Properties
ContextMenu
Gets or sets the context menu associated to the item.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
|
RadContextMenu
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.
Declaration
public virtual string Description { get; set; }
Property Value
|
System.String
|
Enabled
Gets or sets a value indicating whether the item can respond to user interaction.
Declaration
public virtual bool Enabled { get; set; }
Property Value
|
System.Boolean
The default value is true. |
Expandable
Gets a value indicating whether this item is expandable.
Declaration
public abstract bool Expandable { get; }
Property Value
|
System.Boolean
|
Expanded
Gets or sets a value indicating whether this item is expanded.
Declaration
public virtual bool Expanded { get; set; }
Property Value
|
System.Boolean
|
GridItems
Gets the child items list associated with this item.
Declaration
public abstract PropertyGridItemCollection GridItems { get; }
Property Value
|
PropertyGridItemCollection
|
Image
Gets or sets the image of the node.
Declaration
public virtual Image Image { get; set; }
Property Value
|
System.Drawing.Image
|
See Also
ImageIndex
Gets or sets the left image list index value of the image displayed when the tree node is not selected.
Declaration
public virtual int ImageIndex { get; set; }
Property Value
|
System.Int32
|
See Also
ImageKey
Gets or sets the key for the left image associated with this tree node when the node is not selected.
Declaration
public string ImageKey { get; set; }
Property Value
|
System.String
|
See Also
ItemHeight
Gets or sets the height of the item.
Declaration
public int ItemHeight { get; set; }
Property Value
|
System.Int32
The default value is 20. |
Label
Gets or sets the text associated with this item.
Declaration
public virtual string Label { get; set; }
Property Value
|
System.String
|
Level
Gets a value indicating how deep in the hierarchy this propety is.
Declaration
public int Level { get; }
Property Value
|
System.Int32
|
Name
Gets the property name
Declaration
public abstract string Name { get; }
Property Value
|
System.String
|
Parent
Gets the parent item for this item.
Declaration
public virtual PropertyGridItemBase Parent { get; }
Property Value
|
PropertyGridItemBase
|
PropertyGridTableElement
Gets the parent property grid that the item is assigned to.
Declaration
public virtual PropertyGridTableElement PropertyGridTableElement { get; }
Property Value
|
PropertyGridTableElement
|
Selected
Gets or sets a value indicating whether this item is selected.
Declaration
public virtual bool Selected { get; set; }
Property Value
|
System.Boolean
|
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
|
System.Object
The tag. |
ToolTipText
Gets or sets the tool tip text associated with this item.
Declaration
public virtual string ToolTipText { get; set; }
Property Value
|
System.String
|
Visible
Gets or sets a value indicating whether this instance is visible.
Declaration
public virtual bool Visible { get; set; }
Property Value
|
System.Boolean
|
Methods
Collapse()
Collapses the item.
Declaration
public virtual void Collapse()
EnsureVisible()
Ensures that this item is visible in the content of the RadPropertyGridElement.
Declaration
public virtual void EnsureVisible()
Expand()
Expandes the item.
Declaration
public virtual void Expand()
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
public virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs args)
Parameters
|
System.ComponentModel.PropertyChangedEventArgs
args
|
OnNotifyPropertyChanged(String)
Declaration
public virtual void OnNotifyPropertyChanged(string name)
Parameters
|
System.String
name
|
ResumePropertyNotifications()
Resumes property notifications after a previous SuspendPropertyNotifications call.
Declaration
public void ResumePropertyNotifications()
Select()
Selects the grid tiem.
Declaration
public virtual void Select()
SetBooleanProperty(String, Int32, Boolean)
Declaration
protected virtual bool SetBooleanProperty(string propertyName, int propertyKey, bool value)
Parameters
|
System.String
propertyName
|
|
System.Int32
propertyKey
|
|
System.Boolean
value
|
Returns
|
System.Boolean
|
SuspendPropertyNotifications()
Allows PropertyChanged notifications to be temporary suspended.
Declaration
public void SuspendPropertyNotifications()
Update(PropertyGridTableElement.UpdateActions)
Declaration
protected virtual void Update(PropertyGridTableElement.UpdateActions updateAction)
Parameters
|
PropertyGridTableElement.UpdateActions
updateAction
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
|
System.ComponentModel.PropertyChangedEventHandler
|