Class Panel
Implements base class for panel layout elements with children
Inheritance
System.Object
Panel
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public abstract class Panel : Control
Constructors
Panel()
Initializes a new instance of the Panel class.
Declaration
public Panel()
Fields
IsItemsHostProperty
The is items host property
Declaration
public static readonly DependencyProperty IsItemsHostProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Children
Gets the children.
Declaration
public UIElementCollection Children { get; }
Property Value
Type | Description |
---|---|
UIElementCollection | The children. |
IsItemsHost
Gets or sets a value indicating whether this instance is items host.
Declaration
public bool IsItemsHost { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
InvalidateIsEnabledOnChildren()
Invalidates the is enabled on children.
Declaration
protected override void InvalidateIsEnabledOnChildren()
Overrides
OnDraw(Renderer, Double, Single)
Called when [draw].
Declaration
protected override void OnDraw(Renderer spriterenderer, double elapsedGameTime, float opacity)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Renderers.Renderer | spriterenderer | The sprite renderer. |
System.Double | elapsedGameTime | The elapsed game time. |
System.Single | opacity | The opacity. |