Window Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Window type exposes the following members.

Methods

  Name Description
Public method Activate Attempts to activate the application window by bringing it to the foreground and setting the input focus to it.
Public method CheckAccess Determines whether the calling thread has access to this object. (Inherited from DependencyObject.)
Public method ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject.)
Public method Close Closes the application window unless the Closing event is canceled.
Public method DragMove In trusted applications, begins a mouse drag operation to move the window.
Public method DragResize In trusted applications, begins a mouse drag operation to move the specified window edge or corner.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAnimationBaseValue Returns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.)
Public methodStatic member GetWindow Gets the window that contains the specified DependencyObject.
Public method Hide Changes the value of the Visibility property of the Window to Collapsed.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.)
Public method SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.)
Public method Show Changes the value of the Visibility property of the Window to Visible.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top