This documentation is archived and is not being maintained.
AllowedMemberLocations Enumeration
Visual Studio 2010
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.SchemaAssembly: System.Xaml (in System.Xaml.dll)
| Member name | Description | |
|---|---|---|
| None | Property cannot be set in XAML at all. This is the default. | |
| Attribute | Property can be set in XAML attribute syntax. | |
| MemberElement | Property can be set in XAML property element syntax. | |
| Any | Property can be set in either Attribute or MemberElement location. (This enumeration member is defined as the combination of those values.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: