DataViewPropertyDescriptor Class
Represents a dynamic property for a node in a data view hierarchy.
Inheritance Hierarchy
System.Object
System.ComponentModel.MemberDescriptor
System.ComponentModel.PropertyDescriptor
Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaración
Public Class DataViewPropertyDescriptor _
Inherits PropertyDescriptor
public class DataViewPropertyDescriptor : PropertyDescriptor
public ref class DataViewPropertyDescriptor : public PropertyDescriptor
type DataViewPropertyDescriptor =
class
inherit PropertyDescriptor
end
public class DataViewPropertyDescriptor extends PropertyDescriptor
The DataViewPropertyDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataViewPropertyDescriptor(PropertyDescriptor) | Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object. | |
DataViewPropertyDescriptor(String) | Initializes a new instance of the DataViewPropertyDescriptor class with the property name. | |
DataViewPropertyDescriptor(PropertyDescriptor, array<Attribute[]) | Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object and an array of attributes. | |
DataViewPropertyDescriptor(String, array<Attribute[]) | Initializes a new instance of the DataViewPropertyDescriptor class with the property name and an array of attributes. | |
DataViewPropertyDescriptor(String, String) | Initializes a new instance of the DataViewPropertyDescriptor class with the property name and a property display name. | |
DataViewPropertyDescriptor(String, String, String) | Initializes a new instance of the DataViewPropertyDescriptor class with the property name, the property display name, and a category name. | |
DataViewPropertyDescriptor(String, String, String, String) | Initializes a new instance of the DataViewPropertyDescriptor class with the property name, another version of the property name for display purposes, a category name, and a description. | |
DataViewPropertyDescriptor(String, String, String, String, Boolean) | Initializes a new instance of the DataViewPropertyDescriptor class with the property name, another version of the property name for display purposes, a category name, and a description. |
Top
Properties
Name | Description | |
---|---|---|
AttributeArray | Gets or sets an array of attributes. (Inherited from MemberDescriptor.) | |
Attributes | Gets the collection of attributes associated with the current property descriptor. (Overrides MemberDescriptor.Attributes.) | |
Category | Gets the category from the CategoryAttribute of the current property descriptor. (Overrides MemberDescriptor.Category.) | |
ComponentType | Gets the type of the component the property is bound to. (Overrides PropertyDescriptor.ComponentType.) | |
Converter | Gets the type converter for the current property descriptor. (Overrides PropertyDescriptor.Converter.) | |
Description | Gets the description from the DescriptionAttribute of the current property descriptor. (Overrides MemberDescriptor.Description.) | |
DesignTimeOnly | Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.) | |
DisplayName | Gets the name that can be displayed in a window, such as a Properties window. (Inherited from MemberDescriptor.) | |
IsBrowsable | Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.) | |
IsLocalizable | Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute. (Inherited from PropertyDescriptor.) | |
IsReadOnly | Gets a value indicating whether the current property descriptor is read-only. (Overrides PropertyDescriptor.IsReadOnly.) | |
Name | Gets the property name. (Overrides MemberDescriptor.Name.) | |
NameHashCode | Gets the hash code of the property name. (Overrides MemberDescriptor.NameHashCode.) | |
PropertyType | Gets the type of the property. (Overrides PropertyDescriptor.PropertyType.) | |
SerializationVisibility | Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute. (Inherited from PropertyDescriptor.) | |
SupportsChangeEvents | Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor. (Inherited from PropertyDescriptor.) |
Top
Methods
Name | Description | |
---|---|---|
AddValueChanged | Enables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.) | |
CanResetValue | Indicates whether the value of the property can be reset for the specified component. (Overrides PropertyDescriptor.CanResetValue(Object).) | |
CreateAttributeCollection | Creates a collection of attributes using the array of attributes passed to the constructor. (Inherited from MemberDescriptor.) | |
CreateInstance | Creates an instance of the specified type. (Inherited from PropertyDescriptor.) | |
Equals | Compares this to another object to see if they are equivalent. (Inherited from PropertyDescriptor.) | |
FillAttributes | Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class. (Inherited from PropertyDescriptor.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetChildProperties() | Returns the default PropertyDescriptorCollection. (Inherited from PropertyDescriptor.) | |
GetChildProperties(array<Attribute[]) | Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.) | |
GetChildProperties(Object) | Returns a PropertyDescriptorCollection for a given object. (Inherited from PropertyDescriptor.) | |
GetChildProperties(Object, array<Attribute[]) | Returns a PropertyDescriptorCollection for a given component, using a specified array of attributes as a filter. (Overrides PropertyDescriptor.GetChildProperties(Object, array<Attribute[]).) | |
GetEditor | Gets an editor of the specified type. (Inherited from PropertyDescriptor.) | |
GetHashCode | Returns the hash code for this object. (Inherited from PropertyDescriptor.) | |
GetInvocationTarget | This method returns the object that should be used during invocation of members. (Inherited from PropertyDescriptor.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeFromName | Returns a type using its name. (Inherited from PropertyDescriptor.) | |
GetValue | Gets the current property value for the specified component. (Overrides PropertyDescriptor.GetValue(Object).) | |
GetValueChangedHandler | Retrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnValueChanged | Raises the ValueChanged event that you implemented. (Inherited from PropertyDescriptor.) | |
RemoveValueChanged | Enables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.) | |
ResetValue | Resets the property value of the specified component to the default value. (Overrides PropertyDescriptor.ResetValue(Object).) | |
SetAttribute | Adds the specified attribute to this property's attributes list. | |
SetAttributes | Adds the specified attributes to this property's attributes list. | |
SetCategory | Sets the category attribute, using the specified category value. | |
SetComponentType | Sets the component type to the specified type. | |
SetConverterType(String) | Adds a TypeConverterAttribute, using the specified type name as the data converter for the property descriptor. | |
SetConverterType(Type) | Adds a TypeConverterAttribute, using the specified type as the data converter for the property descriptor. | |
SetDescription | Sets the description attribute, using the specified description value. | |
SetDisplayName | Sets the display name attribute, using the specified display name value. | |
SetIsBrowsable | Adds a BrowsableAttribute corresponding to the specified Boolean value that indicates whether the property can be modified at design time in a Properties window. | |
SetIsLocalizable | Adds a LocalizableAttribute corresponding to the specified Boolean value that indicates whether the property should be localized. | |
SetIsReadOnly | Adds a ReadOnlyAttribute corresponding to the specified Boolean value that indicates whether the property is read-only. | |
SetName | Sets the property name. | |
SetPropertyType | Sets the property type to the specified type. | |
SetValue | Sets the property value for the specified component to a new value. (Overrides PropertyDescriptor.SetValue(Object, Object).) | |
ShouldSerializeValue | Indicates whether the property value of the specified component should be serialized. (Overrides PropertyDescriptor.ShouldSerializeValue(Object).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.