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
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, which has no meaning for this property. Use the IsDefault property on the EnumValue instead to mark the default value for this property.

Constructors

EnumProperty()

The default enum property constructor.

Properties

AdmissibleValues

Gets or sets the list of possible values for this property.

Arguments

Gets or sets a list of arguments for this property.

(Inherited from BaseProperty)
Category

Gets or sets the name of the category to which this property belongs.

(Inherited from BaseProperty)
ContainingRule

Gets or sets the Rule that contains this BaseProperty.

(Inherited from BaseProperty)
DataSource

Gets or sets the data source where the current value of this property is stored.

(Inherited from BaseProperty)
Default

Gets or sets the default value for this property.

(Inherited from BaseProperty)
Description

Gets or sets a description of this BaseProperty for use by a prospective UI client.

(Inherited from BaseProperty)
DisplayName

Gets or sets a name that can be used by a prospective UI client to display this BaseProperty.

(Inherited from BaseProperty)
F1Keyword

Gets or sets the keyword that is used to open the help page for this property.

(Inherited from BaseProperty)
HelpContext

Gets or sets the Help context to use when the user presses F1.

(Inherited from BaseProperty)
HelpFile

Gets or sets the Help file to use when the user presses F1.

(Inherited from BaseProperty)
HelpUrl

Gets or sets the URL of the Help page for this property. The page is opened when the user presses F1.

(Inherited from BaseProperty)
IncludeInCommandLine

Gets or sets a hint to the command-line constructor whether to include this property in the command line.

(Inherited from BaseProperty)
IsRequired

Gets or sets a value that indicates whether this property is required to have a value set.

(Inherited from BaseProperty)
Metadata

Gets or sets additional attributes of this BaseProperty.

(Inherited from BaseProperty)
MultipleValuesAllowed

Gets or sets a value that indicates whether this property allows multiple values to be supplied/selected simultaneously.

(Inherited from BaseProperty)
Name

Gets or sets the name of this BaseProperty.

(Inherited from BaseProperty)
ReadOnly

Gets or sets a value that indicates whether this property is read-only.

(Inherited from BaseProperty)
Separator

Gets or sets the token used to separate a switch from its value.

(Inherited from BaseProperty)
Subcategory

Gets or sets the subcategory this property belongs to.

(Inherited from BaseProperty)
Switch

Gets or sets the switch representation of this property when the property represents a tool parameter.

(Inherited from BaseProperty)
SwitchPrefix

Gets or sets the prefix for the switch representation of this property when this property represents a tool parameter.

(Inherited from BaseProperty)
ValueEditors

Gets or sets the list of value editors for this property.

(Inherited from BaseProperty)
Visible

Gets or sets a hint to the UI client that tells it whether to display this property.

(Inherited from BaseProperty)

Methods

BeginInit()

See BeginInit().

(Inherited from BaseProperty)
EndInit()

See EndInit().

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to