New to Telerik UI for WPF? Start a free 30-day trial

ItemPropertyDefinitionViewModel.

Definition

Namespace:Telerik.Windows.Controls.Data.DataFilter

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public class ItemPropertyDefinitionViewModel

Inheritance: objectItemPropertyDefinitionViewModel

Constructors

Initializes a new instance of the ItemPropertyDefinitionViewModel class.

C#
public ItemPropertyDefinitionViewModel(ItemPropertyDefinition itemPropertyDefinition)
Parameters:itemPropertyDefinitionItemPropertyDefinition

The item property definition.

Properties

Gets the display name.

C#
public string DisplayName { get; }
Property Value:

The display name.

Gets the ItemPropertyDefinition.

C#
public ItemPropertyDefinition ItemPropertyDefinition { get; }
Property Value:

The ItemPropertyDefinition.

Gets the name of the property.

C#
public string PropertyName { get; }
Property Value:

The name of the property.

Gets the type of the property.

C#
public Type PropertyType { get; }
Property Value:

The type of the property.

Methods

Determines whether the specified other view model is equal to the current one.

C#
public virtual bool Equals(ItemPropertyDefinitionViewModel other)
Parameters:otherItemPropertyDefinitionViewModel

The other view model.

Returns:

bool

True if the ItemPropertyDefinition of the current view model is equal to the ItemPropertyDefinition of the other, otherwise false.

Determines whether the specified object is equal to this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this instance.

Returns:

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides: object.Equals(object)

Returns a hash code for this instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides: object.GetHashCode()

Returns a string that represents this instance.

C#
public override string ToString()
Returns:

string

A string that represents this instance.

Overrides: object.ToString()