Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
DeltaEngine.Scenes.Tests.Controls PanelDemo1
Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The PanelDemo1 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PanelDemo1 | Initializes a new instance of the PanelDemo1 class |
Methods
Name | Description | |
---|---|---|
AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) | |
DisplayScalingPanel | ||
InitializeResolver | (Inherited from TestWithMocksOrVisually.) | |
RegisterMock T | (Inherited from TestWithMocksOrVisually.) | |
Resolve T | (Inherited from TestWithMocksOrVisually.) | |
RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) | |
RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
Properties
Name | Description | |
---|---|---|
IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test] public void DisplayScalingPanel() { panel = new ScalingPanel(Color.PaleGreen, Color.Blue, new Rectangle(0.2f, 0.3f, 0.5f, 0.4f)); new Command(BeginDrag).Add(new MouseButtonTrigger()); new Command(Drag).Add(new MouseDragTrigger()); }
See Also