Udostępnij za pośrednictwem


GraphNodeIdPropertyDescriptor Class

Definition

This is a custom PropertyDescriptor that is used to populate a row in the PropertyGrid with XmlAttribute information and corresponding localized strings for labels and descriptions.

public ref class GraphNodeIdPropertyDescriptor : System::ComponentModel::PropertyDescriptor
public class GraphNodeIdPropertyDescriptor : System.ComponentModel.PropertyDescriptor
type GraphNodeIdPropertyDescriptor = class
    inherit PropertyDescriptor
Public Class GraphNodeIdPropertyDescriptor
Inherits PropertyDescriptor
Inheritance
GraphNodeIdPropertyDescriptor

Constructors

GraphNodeIdPropertyDescriptor(GraphNodeId, String, String)

Constructor.

Properties

Category

Gets the category of this property.

ComponentType

Gets the type of the component this property is bound to.

Converter

Gets the type converter for this property

IsLocalizable

Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute.

IsReadOnly

Gets a value indicating whether this property is read-only

PropertyType

Gets the type of the property

SupportsChangeEvents

Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.

Methods

CanResetValue(Object)

Returns whether resetting an object changes its value

FillAttributes(IList)

Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class.

GetValue(Object)

Gets the current value of the property on a component.

ResetValue(Object)

Resets the value for this property of the component to the default value.

SetValue(Object, Object)

Sets the value of the component to a different value.

ShouldSerializeValue(Object)

Determines a value indicating whether the value of this property needs to be persisted.

Applies to