ViewItem Class
An abstract class that enables interaction with view objects.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Interaction.ViewItem
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class ViewItem
public abstract class ViewItem
public ref class ViewItem abstract
[<AbstractClass>]
type ViewItem = class end
public abstract class ViewItem
The ViewItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ViewItem | Initializes a new instance of the ViewItem class. |
Top
Properties
Name | Description | |
---|---|---|
FlowDirection | Gets the FlowDirection property of the view. | |
IsOffscreen | Gets a value that indicates whether the element is off the screen. | |
IsVisible | Gets a value that indicates whether an element is visible. | |
ItemType | Gets the type of the underlying dependency object that represents this view. | |
LayoutTransform | Gets the layout transform of the current ViewItem. | |
LogicalChildren | Gets a collection of the immediate logical children of the current ViewItem. | |
LogicalParent | Gets the logical parent of the current ViewItem. | |
Offset | Gets the offset of the view. | |
PlatformObject | Gets the underlying dependency object that represents this view. | |
RenderSize | Gets the render size of the view. | |
RenderSizeBounds | Gets the layout rectangle for the view. | |
SelectionFrameBounds | Gets the bounds of the selection frame. | |
Transform | Gets the transform value for the current ViewItem. | |
Visibility | Gets the Visibility property of the view. | |
VisualChildren | Gets a collection of the immediate visual children of this ViewItem. | |
VisualParent | Gets the visual parent of the current ViewItem. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified ViewItem is equal to the current ViewItem. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a ViewItem. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HitTest | Initiates a hit test on the ViewItem, with caller-defined HitTestFilterCallback and HitTestResultCallback methods. | |
IsDescendantOf(Visual) | Gets a value that indicates whether the visual object is a descendant of the specified visual object. | |
IsDescendantOf(ViewItem) | Determines whether the visual object is a descendant of the ancestor visual object. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PointToScreen | Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TransformFromVisual | Returns a transform that can be used to transform coordinates from the specified visual object to the view. | |
TransformToView | Returns a transform that can be used to transform coordinates from the view to the specified view object. | |
TransformToVisual | Returns a transform that can be used to transform coordinates from the view to the specified visual object. | |
UpdateLayout | Calls the UpdateLayout method on the underlying platform object. |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the specified ViewItem instances are considered equal. | |
Inequality | Determines whether the specified ViewItem instances are considered not equal. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.