Theme TextBoxFocused Property Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Controls
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public Material TextBoxFocused { get; set; }

Property Value

Type: Material
Remarks

Tests: DeltaEngine.Scenes.Tests.Controls.ThemeTests
Examples

1 unit tests call DeltaEngine.Scenes.Controls.Theme.TextBoxFocused
[Test, CloseAfterFirstFrame]
public void SaveAndLoadDefaultTheme()
{
    var theme = new Theme();
    var stream = BinaryDataExtensions.SaveToMemoryStream(theme);
    var loadedTheme = (Theme)stream.CreateFromMemoryStream();
    Assert.IsTrue(AreMaterialsEqual(theme.ButtonMouseover, loadedTheme.ButtonMouseover));
    Assert.IsTrue(AreMaterialsEqual(theme.ScrollbarPointer, loadedTheme.ScrollbarPointer));
    Assert.IsTrue(AreMaterialsEqual(theme.TextBoxFocused, loadedTheme.TextBoxFocused));
}
See Also