5.3 XamlMember Information Item

A XamlMember Information Item provides information about a member. Members are either defined by a particular XamlType Information Item, or they are directives.

Table 5: XamlMember Information Item Properties

Name

Type

Purpose (non-normative)

[name]

XamlName

The name of the member.

[owner type]

Null or XamlType Information Item

The type that defines this member, or Null if [is directive] is True.

[value type]

XamlType Information Item

The type that values for this member must be assignable to.

[text syntax]

Null, or Text Syntax Information Item

A member-specific text syntax that defines how this member can be represented as text. (If present, this takes precedence over [value type][text syntax].)

[is read only]

Boolean

True if the member cannot be set. (Only used for lists and dictionaries.)

[is static]

Boolean

True if the member is associated directly with the defining type, and not with any particular element.

[is attachable]

Boolean

True if this member may be applied to types other than those compatible with the owner type.

[target type]

Null, or XamlType Information Item

The member may be attached to types compatible with this type. (Only used for attachable members.)

[allowed location]

Allowed Location

Indicates how the member may be represented in XML.

[is event]

Boolean

True if this member is used to define a response to some event such as user input. (The interpretation of event members is determined by individual Xaml processors.)

[is directive]

Boolean

True if this is a directive.