Provides a base class for all Panel elements. Use Panel elements to position and arrange child objects in Silverlight-based applications.
Namespace:
System.Windows.Controls
Assembly:
System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
<ContentPropertyAttribute("Children", True)> _
Public MustInherit Class Panel _
Inherits FrameworkElement
[ContentPropertyAttribute("Children", true)]
public abstract class Panel : FrameworkElement
To allow for complex layouts, Silverlight currently implements panel elements such as Canvas, StackPanel, and Grid. For more information about using panels, see Silverlight Layout System.
For scenarios that require application layout that is not possible using any of the predefined Panel elements, custom layout behaviors can be achieved by inheriting from Panel and overriding the default measure and arrange behavior by using the MeasureOverride and ArrangeOverride methods.
System..::.Object
System.Windows..::.DependencyObject
System.Windows..::.UIElement
System.Windows..::.FrameworkElement
System.Windows.Controls..::.Panel
System.Windows.Controls..::.Canvas
System.Windows.Controls..::.Grid
System.Windows.Controls.Primitives..::.DataGridCellsPresenter
System.Windows.Controls.Primitives..::.DataGridColumnHeadersPresenter
System.Windows.Controls.Primitives..::.DataGridDetailsPresenter
System.Windows.Controls.Primitives..::.DataGridRowsPresenter
System.Windows.Controls.Primitives..::.TabPanel
System.Windows.Controls..::.StackPanel
System.Windows.Controls..::.VirtualizingPanel
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference
Other Resources