Udostępnij za pośrednictwem


ModelProperty Members

Include Protected Members
Include Inherited Members

Represents a property on an item.

The ModelProperty type exposes the following members.

Constructors

 

Name

Description

Protected method

ModelProperty

Initializes a new instance of the ModelProperty class.

Top

Methods

 

Name

Description

Public method

ClearValue

When overridden in a derived class, clears the local value for the property.

Public method

Equals

Determines whether the specified object is equal to this ModelProperty object. (Overrides Object.Equals(Object).)

Protected method

Finalize

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

Public method

GetHashCode

Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)

Public method

GetType

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

Protected method

MemberwiseClone

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

Public method

SetValue

When overridden in a derived class, sets a local value on a property.

Public method

ToString

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

Top

Operators

 

Name

Description

Public operatorStatic member

Equality

Determines whether two specified ModelProperty objects are equal.

Public operatorStatic member

Inequality

Determines whether two specified ModelProperty objects are not equal.

Top

Properties

 

Name

Description

Public property

AttachedOwnerType

When overridden in a derived class, gets the type which defines this property.

Public property

Attributes

When overridden in a derived class, gets the attributes declared on this property.

Public property

Collection

When overridden in a derived class, gets the Value property cast as a ModelItemCollection.

Public property

ComputedValue

When overridden in a derived class, gets the currently computed value for this property.

Public property

Converter

When overridden in a derived class, gets the type converter to use with this property.

Public property

DefaultValue

When overridden in a derived class, gets the default value for this property.

Public property

Dictionary

When overridden in a derived class, gets the Value property cast as a ModelItemDictionary.

Public property

IsAttached

When overridden in a derived class, gets a value indicating whether the property represents an attached property from a different type.

Public property

IsBrowsable

When overridden in a derived class, gets a value indicating whether the property can be shown in a property window.

Public property

IsCollection

When overridden in a derived class, gets a value indicating whether the value contained in the property is an ItemCollection.

Public property

IsDictionary

When overridden in a derived class, gets a value indicating whether the value contained in the property is an ItemDictionary.

Public property

IsReadOnly

When overridden in a derived class, gets a value indicating whether the property is read-only.

Public property

IsSet

When overridden in a derived class, gets a value indicating whether the property's value is set locally.

Public property

Name

When overridden in a derived class, gets the name of this property.

Public property

Parent

When overridden in a derived class, gets the parent of this property.

Public property

PropertyType

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

Public property

Value

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

Top

See Also

Reference

ModelProperty Class

Microsoft.Windows.Design.Model Namespace