Condividi tramite


EnumValue Class

Definition

Represents an admissible value of an EnumProperty.

public ref class EnumValue sealed
[System.Windows.Markup.ContentProperty("Arguments")]
public sealed class EnumValue
[<System.Windows.Markup.ContentProperty("Arguments")>]
type EnumValue = class
Public NotInheritable Class EnumValue
Inheritance
EnumValue
Attributes

Constructors

EnumValue()

Default constructor needed for XAML deserialization.

Properties

Arguments

List of arguments for this EnumValue.

Description

Description of this BaseProperty for use by a prospective UI client.

DisplayName

The name that could be used by a prospective UI client to display this EnumValue.

HelpString

Help information for this EnumValue.

IsDefault

Tells if this EnumValue is the default value for the associated EnumProperty.

Metadata

Additional attributes of this EnumValue.

Name

The name of this EnumValue.

Switch

The switch representation of this property for the case when the parent EnumProperty represents a tool parameter.

SwitchPrefix

The prefix for the switch representation of this value for the case when the parent EnumProperty represents a tool parameter.

Applies to