Editar

Compartir a través de


MarkupProperty Class

Definition

Abstract class that provides a property description to be used while writing to markup which encapsulates access to properties and their values.

public ref class MarkupProperty abstract
public abstract class MarkupProperty
type MarkupProperty = class
Public MustInherit Class MarkupProperty
Inheritance
MarkupProperty

Remarks

A property is either represented as a string or a list of items.

If the property can be represented as a string, IsComposite is false.

If IsComposite is true, the property is a list of items.

Properties

Attributes

When overridden in a derived class, gets the attributes associated with this MarkupProperty.

DependencyProperty

When overridden in a derived class, gets the DependencyProperty identifier for the markup property if the property is implemented as a dependency property.

IsAttached

When overridden in a derived class, determines whether this MarkupProperty is an attached DependencyProperty.

IsComposite

When overridden in a derived class, determines whether this MarkupProperty is a composite property.

IsConstructorArgument

When overridden in a derived class, determines whether this MarkupProperty represents a constructor argument.

IsContent

When overridden in a derived class, determines whether this MarkupProperty represents direct content of a collection.

IsKey

When overridden in a derived class, determines whether this MarkupProperty represents the key used by the MarkupObject to store the item in a dictionary.

IsValueAsString

When overridden in a derived class, determines whether this MarkupProperty represents text which is passed to a type converter to create an instance of the property or if a constructor should be used.

Items

When overridden in a derived class, gets the items that make up the value of this property.

Name

When overridden in a derived class, gets a name that is used for diagnostics and error reporting.

PropertyDescriptor

When overridden in a derived class, gets the PropertyDescriptor for the markup property.

PropertyType

When overridden in a derived class, gets the CLR type of the property.

StringValue

When overridden in a derived class, gets the string value of this MarkupProperty.

TypeReferences

When overridden in a derived class, gets the set of types that this MarkupProperty will reference when it serializes its value as a string.

Value

When overridden in a derived class, gets the current value of this MarkupProperty.

Methods

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