Share via


EnumProperty Class

Definition

Represents the schema of an enumeration property.

public ref class EnumProperty sealed : Microsoft::Build::Framework::XamlTypes::BaseProperty
[System.Windows.Markup.ContentProperty("AdmissibleValues")]
public sealed class EnumProperty : Microsoft.Build.Framework.XamlTypes.BaseProperty
[<System.Windows.Markup.ContentProperty("AdmissibleValues")>]
type EnumProperty = class
    inherit BaseProperty
Public NotInheritable Class EnumProperty
Inherits BaseProperty
Inheritance
EnumProperty
Attributes

Remarks

This class inherits the Default property from the BaseProperty class. That property does not make sense for this property. Use the IsDefault property on the EnumValue instead to mark the default value for this property.

Constructors

EnumProperty()

constructor

Properties

AdmissibleValues

The list of possible values for this property. Must have at least one value.

Arguments

List of arguments for this property.

(Inherited from BaseProperty)
Category

The name of the category to which this property belongs to.

(Inherited from BaseProperty)
ContainingRule

The Rule containing this BaseProperty.

(Inherited from BaseProperty)
DataSource

The data source where the current value of this property is stored.

(Inherited from BaseProperty)
Default

Specifies the default value for this property.

(Inherited from BaseProperty)
Description

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

(Inherited from BaseProperty)
DisplayName

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

(Inherited from BaseProperty)
F1Keyword

The keyword that is used to open the help page for this property.

(Inherited from BaseProperty)
HelpContext

The help context to use when the user hits F1. Must specify HelpFile along with this.

(Inherited from BaseProperty)
HelpFile

The help file to use when the user hits F1. Must specify HelpContext along with this.

(Inherited from BaseProperty)
HelpUrl

The URL of the help page for this property that will be opened when the user hits F1.

(Inherited from BaseProperty)
IncludeInCommandLine

A hint to the command line constructor whether to include this property in the command line or not.

(Inherited from BaseProperty)
IsRequired

Indicates whether this property is required to have a value set.

(Inherited from BaseProperty)
Metadata

Additional attributes of this BaseProperty.

(Inherited from BaseProperty)
MultipleValuesAllowed

A value indicating whether this property allows multiple values to be supplied/selected simultaneously.

(Inherited from BaseProperty)
Name

The name of this BaseProperty.

(Inherited from BaseProperty)
ReadOnly

Tells if this property is a read-only property.

(Inherited from BaseProperty)
Separator

The token used to separate a switch from its value.

(Inherited from BaseProperty)
Subcategory

The sub category to which this property belongs to.

(Inherited from BaseProperty)
Switch

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

(Inherited from BaseProperty)
SwitchPrefix

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

(Inherited from BaseProperty)
ValueEditors

List of value editors for this property.

(Inherited from BaseProperty)
Visible

A hint to the UI client telling it whether to display this property or not.

(Inherited from BaseProperty)

Methods

BeginInit()

See ISupportInitialize.

(Inherited from BaseProperty)
EndInit()

See ISupportInitialize.

Applies to