Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Grid Methods

The Grid type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone AddHandler Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone Arrange Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update. (Inherited from UIElement.)
Protected method Supported by Silverlight for Windows Phone ArrangeOverride Arranges the content of a Grid element. (Overrides FrameworkElement.ArrangeOverride(Size).)
Public method Supported by Silverlight for Windows Phone CaptureMouse Sets mouse capture to a UIElement. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone CheckAccess Determines whether the calling thread has access to this object. (Inherited from DependencyObject.)
Public method Supported by Silverlight for Windows Phone ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject.)
Public method Supported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone 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 Supported by Silverlight for Windows Phone FindName Retrieves an object that has the specified identifier name. (Inherited from FrameworkElement.)
Public method Supported by Silverlight for Windows Phone 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 Supported by Silverlight for Windows Phone GetBindingExpression Retrieves the BindingExpression for a dependency property where a binding is established. (Inherited from FrameworkElement.)
Public method Static member Supported by Silverlight for Windows Phone GetColumn Gets the value of the Grid.Column attached property from the specified FrameworkElement.
Public method Static member Supported by Silverlight for Windows Phone GetColumnSpan Gets the value of the Grid.ColumnSpan attached property from the specified FrameworkElement.
Public method Supported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member Supported by Silverlight for Windows Phone GetRow Gets the value of the Grid.Row attached property from the specified FrameworkElement.
Public method Static member Supported by Silverlight for Windows Phone GetRowSpan Gets the value of the Grid.RowSpan attached property from the specified FrameworkElement.
Public method Supported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.)
Public method Supported by Silverlight for Windows Phone InvalidateArrange Invalidates the arrange state (layout) for a UIElement. After the invalidation, the UIElement will have its layout updated, which will occur asynchronously. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone InvalidateMeasure Invalidates the measurement state (layout) for a UIElement. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone Measure Updates the DesiredSize of a UIElement. Typically, objects that implement custom layout for their layout children call this method from their own MeasureOverride implementations to form a recursive layout update. (Inherited from UIElement.)
Protected method Supported by Silverlight for Windows Phone MeasureOverride Measures the children of a Grid in anticipation of arranging them during the ArrangeOverride pass. (Overrides FrameworkElement.MeasureOverride(Size).)
Protected method Supported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone OnApplyTemplate When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks. (Inherited from FrameworkElement.)
Protected method Supported by Silverlight for Windows Phone OnCreateAutomationPeer When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.)
Public method Supported by Silverlight for Windows Phone ReleaseMouseCapture Removes mouse capture from a UIElement. After this call, typically no object holds mouse capture. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone RemoveHandler Removes the specified routed event handler from this UIElement. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone SetBinding Attaches a binding to a FrameworkElement, using the provided binding object, and returns a BindingExpressionBase for possible later use. (Inherited from FrameworkElement.)
Public method Static member Supported by Silverlight for Windows Phone SetColumn Sets the value of the Grid.Column attached property to the specified FrameworkElement.
Public method Static member Supported by Silverlight for Windows Phone SetColumnSpan Sets the value of the Grid.ColumnSpan attached property to the specified FrameworkElement.
Public method Static member Supported by Silverlight for Windows Phone SetRow Sets the value of the Grid.Row attached property to the specified FrameworkElement.
Public method Static member Supported by Silverlight for Windows Phone SetRowSpan Sets the value of the Grid.RowSpan attached property to the specified FrameworkElement.
Public method Supported by Silverlight for Windows Phone SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.)
Public method Supported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone TransformToVisual Returns a transform object that can be used to transform coordinates from the UIElement to the specified object. (Inherited from UIElement.)
Public method Supported by Silverlight for Windows Phone UpdateLayout Ensures that all positions of child objects of a UIElement are properly updated for layout. (Inherited from UIElement.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.