MarkupProperty Class

MarkupProperty Class

 

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

Namespace:   System.Windows.Markup.Primitives
Assembly:  WindowsBase (in WindowsBase.dll)

System.Object
  System.Windows.Markup.Primitives.MarkupProperty

public abstract class MarkupProperty

NameDescription
System_CAPS_pubpropertyAttributes

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

System_CAPS_pubpropertyDependencyProperty

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

System_CAPS_pubpropertyIsAttached

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

System_CAPS_pubpropertyIsComposite

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

System_CAPS_pubpropertyIsConstructorArgument

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

System_CAPS_pubpropertyIsContent

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

System_CAPS_pubpropertyIsKey

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

System_CAPS_pubpropertyIsValueAsString

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.

System_CAPS_pubpropertyItems

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

System_CAPS_pubpropertyName

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

System_CAPS_pubpropertyPropertyDescriptor

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

System_CAPS_pubpropertyPropertyType

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

System_CAPS_pubpropertyStringValue

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

System_CAPS_pubpropertyTypeReferences

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

System_CAPS_pubpropertyValue

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.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.

Return to top
Show:
© 2016 Microsoft