AllowedMemberLocations Enumeration

.NET Framework (current version)
 

Specifies the syntax restrictions enforced on a property when it is set in XAML, as reported by a XamlDirective.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Xaml.Schema
Assembly:  System.Xaml (in System.Xaml.dll)

[FlagsAttribute]
public enum AllowedMemberLocations

Member nameDescription
Any

Property can be set in either Attribute or MemberElement location. (This enumeration member is defined as the combination of those values.)

Attribute

Property can be set in XAML attribute syntax.

MemberElement

Property can be set in XAML property element syntax.

None

Property cannot be set in XAML at all. This is the default.

Information reported by this property does not account for any possible markup extensions. Markup extensions are processed first and can potentially return objects from within an attribute usage, even for properties that are notated as MemberElement only.

.NET Framework
Available since 4.0
Return to top
Show: