using System.Windows.Forms.VisualStyles;
namespace AeroWizard.VisualStyles
{
///
/// Identifies a control or user interface (UI) element that is drawn with visual styles.
///
public static class VisualStyleElementEx
{
///
/// Contains classes that provide objects for navigation-related controls. This class cannot be inherited.
///
public static class Navigation
{
private const string className = "NAVIGATION";
///
/// Provides objects for the different states of the Back Button control. This class cannot be inherited.
///
public static class BackButton
{
private const int part = 1;
/// Gets a visual style element that represents a back button in the normal state.
/// A that represents a back button in the normal state.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, part, 1);
/// Gets a visual style element that represents a back button in the hot state.
/// A that represents a back button in the hot state.
public static VisualStyleElement Hot => VisualStyleElement.CreateElement(className, part, 2);
/// Gets a visual style element that represents a back button in the pressed state.
/// A that represents a back button in the pressed state.
public static VisualStyleElement Pressed => VisualStyleElement.CreateElement(className, part, 3);
/// Gets a visual style element that represents a back button in the disabled state.
/// A that represents a back button in the disabled state.
public static VisualStyleElement Disabled => VisualStyleElement.CreateElement(className, part, 4);
}
///
/// Provides objects for the different states of the Forward Button control. This class cannot be inherited.
///
public static class ForwardButton
{
private const int part = 2;
/// Gets a visual style element that represents a forward button in the normal state.
/// A that represents a forward button in the normal state.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, part, 1);
/// Gets a visual style element that represents a forward button in the hot state.
/// A that represents a forward button in the hot state.
public static VisualStyleElement Hot => VisualStyleElement.CreateElement(className, part, 2);
/// Gets a visual style element that represents a forward button in the pressed state.
/// A that represents a forward button in the pressed state.
public static VisualStyleElement Pressed => VisualStyleElement.CreateElement(className, part, 3);
/// Gets a visual style element that represents a forward button in the disabled state.
/// A that represents a forward button in the disabled state.
public static VisualStyleElement Disabled => VisualStyleElement.CreateElement(className, part, 4);
}
///
/// Provides objects for the different states of the Menu Button control. This class cannot be inherited.
///
public static class MenuButton
{
private const int part = 3;
/// Gets a visual style element that represents a menu button in the normal state.
/// A that represents a menu button in the normal state.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, part, 1);
/// Gets a visual style element that represents a menu button in the hot state.
/// A that represents a menu button in the hot state.
public static VisualStyleElement Hot => VisualStyleElement.CreateElement(className, part, 2);
/// Gets a visual style element that represents a menu button in the pressed state.
/// A that represents a menu button in the pressed state.
public static VisualStyleElement Pressed => VisualStyleElement.CreateElement(className, part, 3);
/// Gets a visual style element that represents a menu button in the disabled state.
/// A that represents a menu button in the disabled state.
public static VisualStyleElement Disabled => VisualStyleElement.CreateElement(className, part, 4);
}
}
///
/// Contains classes that provide objects for AeroWizard-related controls. This class cannot be inherited.
///
public static class AeroWizard
{
private const string className = "AEROWIZARD";
///
/// Provides a for the button of a wizard. This class cannot be inherited.
///
public static class Button
{
/// Gets a visual style element that represents a button in a wizard.
/// A that represents a button in a wizard.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, 5, 0);
}
///
/// Provides a for the command area of a wizard. This class cannot be inherited.
///
public static class CommandArea
{
/// Gets a visual style element that represents the command area of a wizard.
/// A that represents the command area of a wizard.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, 4, 0);
}
///
/// Provides a for the content area of a wizard. This class cannot be inherited.
///
public static class ContentArea
{
/// Gets a visual style element that represents the content area of a wizard.
/// A that represents the content area of a wizard.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, 3, 0);
/// Gets a visual style element that represents the content area of a wizard without a margin.
/// A that represents the content area of a wizard without a margin.
public static VisualStyleElement NoMargin => VisualStyleElement.CreateElement(className, 3, 1);
}
///
/// Provides a for the header area of a wizard. This class cannot be inherited.
///
public static class HeaderArea
{
/// Gets a visual style element that represents the header area of a wizard.
/// A that represents the header area of a wizard.
public static VisualStyleElement Normal => VisualStyleElement.CreateElement(className, 2, 0);
/// Gets a visual style element that represents the header area of a wizard without a margin.
/// A that represents the header area of a wizard without a margin.
public static VisualStyleElement NoMargin => VisualStyleElement.CreateElement(className, 2, 1);
}
///
/// Provides a for each state of the titlebar of a wizard. This class cannot be inherited.
///
public static class TitleBar
{
/// Gets a visual style element that represents the titlebar of an active wizard.
/// A that represents the titlebar of an active wizard.
public static VisualStyleElement Active => VisualStyleElement.CreateElement(className, 1, 1);
/// Gets a visual style element that represents the titlebar of an inactive wizard.
/// A that represents the titlebar of an inactive wizard.
public static VisualStyleElement Inactive => VisualStyleElement.CreateElement(className, 1, 2);
}
}
}
}