Прочитај на енглеском Уреди

Делите путем


ModelItemExtensions Class

Definition

Implements extensions to the base model item.

C#
public static class ModelItemExtensions
Inheritance
ModelItemExtensions

Methods

Focus(ModelItem, Int32)

Sets the keyboard focus on the specified designer item.

Focus(ModelItem)

Sets the keyboard focus on the specified designer item.

GetEditingContext(ModelItem)

Retrieves the editing context of the specified model item.

GetModelItemFromPath(String, ModelItem)

Retrieves a model item from the specified path and root.

GetModelPath(ModelItem)

Retrieves the path of the specified model item.

IsParentOf(ModelItem, ModelItem)

Returns a value that indicates whether the first specified designer item is a parent of the second specified designer item.

Applies to

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1