Assembly: System.Xaml (in System.Xaml.dll)
|XamlDirective(IEnumerable<String>, String, XamlType, XamlValueConverter<TypeConverter>, AllowedMemberLocations)|
Initializes a new instance of theclass, specifying values for each per-case value of a .
Initializes a new instance of the IsUnknown to report true for the directive.class, specifying values for a name and a single XAML namespace. Use this signature only when you want or expect
Gets a value that specifies the XAML node types where the directive can be specified.
Gets a value that indicates whether the member is not resolvable by the backing system that is used for type and member resolution.(Inherited from XamlMember.)
Indicates whether the current object is equal to another object.(Inherited from XamlMember.)
Indicates whether the current object is equal to another object of the same type.(Inherited from XamlMember.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Returns the hash code for this object.(Overrides XamlMember.GetHashCode().)
Returns a list of XAML namespaces where this XAML member can exist. (Overrides XamlMember.GetXamlNamespaces().)
Returns whether this XamlMember.LookupIsEvent().)represents an event.(Overrides
Returns whether this XamlMember.LookupIsReadOnly().)represents an intended read-only property.(Overrides
Returns whether this XamlMember.LookupIsReadPublic().)represents a property that has a public get accessor.(Overrides
Returns whether this XamlMember.LookupIsUnknown().)represents a member that is not resolvable by the backing system that is used for type and member resolution.(Overrides
Returns whether this XamlMember.LookupIsWriteOnly().)represents an intended write-only property.(Overrides
Returns whether this XamlMember.LookupIsWritePublic().)represents a property that has a public set accessor.(Overrides
Returns a type converter implementation that is associated with this XamlMember.LookupTypeConverter().).(Overrides
Returns a get accessor that is associated with this XamlMember.LookupUnderlyingGetter().). This implementation always returns null.(Overrides
Returns a set accessor that is associated with this XamlMember.LookupUnderlyingSetter().). This implementation always returns null.(Overrides
Returns a string representation of this XamlMember.ToString().).(Overrides
XamlMember properties, and the same XAML type system information is reported for all possible XAML directives. The reporting of XAML type system characteristics that are specific to directives is accomplished by internal behavior or through overrides of XamlMember Lookup* virtual members in the class.provides expected values for the XAML type system when the member is a XAML directive. By definition, a XAML directive has characteristics that always return the same results for a subset of the
The following list shows the returned results of a XAML directive for XamlMember when the member is actually a :
LookupCustomAttributeProvider is always null.
DeferringLoader is always null.
DependsOn is always null.
IsAmbient is always false.
IsAttachable is always false.
IsDirective is always true.
IsEvent is always false.
IsReadOnly is always false.
IsReadPublic is always true.
IsWritePublic is always true.
Also, the internal backing for DeclaringType remains unset and returns null.
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.