Skip to main content
.NET 8.0+

ViewShortcut Members

Supplies key information on a View.

Constructors

Name Description
ViewShortcut() Creates an empty View Shortcut.
ViewShortcut(String, String) Creates a new ViewShortcut.
ViewShortcut(Type, String, String, Point) Creates a new ViewShortcut.
ViewShortcut(Type, String, String) Creates a new ViewShortcut.

Fields

Name Description
EqualsDefaultIgnoredParameters static Specifies keys that are ignored when comparing View Shortcuts via the ViewShortcut.Equals method.
IsNewObject Specifies the name of the key whose corresponding value indicates whether the object displayed by the View is new.
ObjectClassNameParamName Specifies the name of the key whose corresponding value is the fully qualified type name of the object(s) displayed by the View.
ObjectKeyParamName Specifies the name of the key whose corresponding value is the key property value of the object displayed by the View.
ScrollPositionParamName Specifies the name of the key whose corresponding value is the scroll bar position of the Window displaying the View.
scrollXYSeparator Specifies the string separating horizontal and vertical scroll bar positions in the value corresponding to the ViewShortcut.ScrollPositionParamName key.
TemporaryObjectKeyParamName Obsolete. Specifies the name of the key whose corresponding value is the temporary key property value of the object displayed by the View.
ViewIdParamName Specifies the name of the key whose corresponding value is the identifier of the View.

Properties

Name Description
HasViewParameters Indicates whether the ViewShortcut.ObjectClassName or ViewShortcut.ViewId property is set.
IsEmpty Checks whether the shortcut is empty.
ObjectClass Specifies the type of the object(s) displayed by the View.
ObjectClassName Specifies the fully qualified type name of the object(s) displayed by the View.
ObjectKey Specifies the key property value of the object displayed by the View.
ScrollPosition Specifies the scroll bar position of the Window displaying the View.
ViewId Specifies the identifier of the View.

Methods

Name Description
Equals(Object, IList<String>) Determines whether the specified object is equal to the current ViewShortcut.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current ViewShortcut.
FromString(String) static For internal use.
GetHashCode() Serves as a hash function for the ViewShortcut.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string representation of the ViewShortcut.
See Also