Поделиться через


Microsoft.Windows.Design.PropertyEditing Namespace

Enables custom property editors to display in the Properties window.

The Microsoft.Windows.Design.PropertyEditing namespace provides classes for implementing custom value editors for designers. Value editors are usually displayed in a designer's Properties window. The following table shows the base implementations for the commonly used value editors.

Property value editor

Description

PropertyValueEditor

An inline editor that is hosted in the same physical space as the view in the hosting Properties window.

ExtendedPropertyValueEditor

An editor that is not normally hosted in-place. This is the equivalent of the drop-down style editor in the System.ComponentModel architecture.

DialogPropertyValueEditor

An editor that is implemented in its own dialog box.

Classes

  Class Description
Public class AlternateContentPropertyAttribute Indicates that a non-content property should be displayed in the object tree.
Public class CategoryEditor An abstract class for creating custom category editors.
Public class CategoryEntry Represents a category of properties.
Public class DependencyPropertyValueSource Represents the source of a dependency property value.
Public class DialogPropertyValueEditor Container for all dialog box-editing logic for PropertyEntry objects.
Public class EditModeSwitchButton A convenience button that allows the user to switch between the different PropertyContainer modes.
Public class ExtendedPropertyValueEditor Container for any and all extended editor logic for properties.
Public class NewItemFactory Represents a factory for creating new items for a collection or for a property value.
Public class NewItemTypesAttribute Used to specify which object types can be assigned as the value of a property or as the value of a property type.
Public class NumberFormatAttribute Stores formatting information that is used for editing a number value.
Public class NumberIncrementsAttribute Contains information about the increments that are used to change a number value.
Public class NumberRangesAttribute Defines a range on number-based attributes
Public class PropertyContainer Used as a graphical container for PropertyEntry instances.
Public class PropertyEntry Represents a property.
Public class PropertyEntryCollection Represents a collection of PropertyEntry instances for sub-properties of a given PropertyEntry.
Public class PropertyFilter Used as part of the searching and filtering functionality that may be provided by the property editing host.
Public class PropertyFilterAppliedEventArgs Provides data for the FilterApplied event.
Public class PropertyFilterPredicate Represents a predicate for search and filtering.
Public class PropertyMarker A control that appears with a property value in the property window and can contain information about the property value.
Public class PropertyOrder Used to set the order in which properties appear in a category, or in a list of sub-properties.
Public class PropertyOrderAttribute This attribute is attached to a property to specify the sort order of a property in a property browser.
Public class PropertyValue Represents the value of a property.
Public class PropertyValueCollection Represents a collection of PropertyValue instances.
Public class PropertyValueEditor Container for any and all inline editor logic for properties.
Public class PropertyValueEditorCommands Provides standard commands that control the behavior of a property window when the user edits properties.
Public class PropertyValueExceptionEventArgs Provides data for the PropertyValueException event.
Public class PropertyValueSource Represents the source of a property value.

Structures

  Structure Description
Public structure KeyAttributePair<T> Maps a string key to an Attribute instance.

Interfaces

  Interface Description
Public interface IIndexableAttribute Defines an indexing operator on an attribute.
Public interface IPropertyFilterTarget Handles sorting and filtering functionality.

Enumerations

  Enumeration Description
Public enumeration PropertyContainerEditMode Defines the different edit modes for a PropertyContainer.
Public enumeration PropertyValueExceptionSource Indicates the source of the exception thrown by a PropertyValue instance.