Rule.GetPropertiesByCategory Method

Definition

Returns all properties partitioned into categories. The return value is never null. The returned list may contain auto-generated categories. Note that if a BaseProperty (or its derived classes) refer to a property that is not specified, then an new Category is generated for the same. If not category is specified for the property, then the property is placed in the "General" category. The list of categories is exactly as specified in the Xaml file. The auto-generated categories come (in no strict order) after the specified categories.

public:
 System::Collections::Specialized::OrderedDictionary ^ GetPropertiesByCategory();
public System.Collections.Specialized.OrderedDictionary GetPropertiesByCategory ();
member this.GetPropertiesByCategory : unit -> System.Collections.Specialized.OrderedDictionary
Public Function GetPropertiesByCategory () As OrderedDictionary

Returns

OrderedDictionary

A dictionary whose keys are the Category names and the value is the list of properties in that category.

Remarks

The returned list may contain auto-generated categories. If a BaseProperty (or its derived classes) refer to a property that is not specified, then an new Category is generated for it. If no category is specified for the property, then the property is put in the "General" category.

The list of categories is exactly as specified in the XAML file. The auto-generated categories come after the specified categories but in no strict order.

Applies to