DefaultsService is static class providing methods to getting SpaceVIL default common values such as font, mouse cursor, icon images.
More...
DefaultsService is static class providing methods to getting SpaceVIL default common values such as font, mouse cursor, icon images.
◆ GetDefaultCursor()
static CursorImage SpaceVIL.Common.DefaultsService.GetDefaultCursor |
( |
| ) |
|
|
static |
◆ GetDefaultFont() [1/3]
static Font SpaceVIL.Common.DefaultsService.GetDefaultFont |
( |
| ) |
|
|
static |
Getting the current default font for the current application.
- Returns
- The current default font as System.Drawing.Font
◆ GetDefaultFont() [2/3]
static Font SpaceVIL.Common.DefaultsService.GetDefaultFont |
( |
FontStyle |
style, |
|
|
int |
size |
|
) |
| |
|
static |
Getting the current default font with the specified font size and font style for the current application.
- Parameters
-
style | A font style as System.Drawing.FontStyle |
size | A font size as System.Int32 |
- Returns
- The current default font with changed font size and font style as System.Drawing.Font
◆ GetDefaultFont() [3/3]
static Font SpaceVIL.Common.DefaultsService.GetDefaultFont |
( |
int |
size | ) |
|
|
static |
Getting the current default font with the specified font size for the current application.
- Parameters
-
size | A font size as System.Int32 |
- Returns
- The current default font with changed font size as System.Drawing.Font
◆ GetDefaultImage()
Getting the specified image by the type and size of the image, which is stored in the SpaceVIL framework.
- Parameters
-
Example: SpaceVIL.Core.EmbeddedImage.Gear (to get gear icon)
- Parameters
-
Example: SpaceVIL.Core.EmbeddedImage.Size32x32 (to get an image in 32x32 pixels)
- Returns
- Copy of image icon as System.Drawing.Bitmap
◆ GetDefaultStyle()
static Style SpaceVIL.Common.DefaultsService.GetDefaultStyle |
( |
Type |
type | ) |
|
|
static |
◆ GetDefaultTheme()
static ThemeStyle SpaceVIL.Common.DefaultsService.GetDefaultTheme |
( |
| ) |
|
|
static |
◆ SetDefaultCursor()
static void SpaceVIL.Common.DefaultsService.SetDefaultCursor |
( |
CursorImage |
cursor | ) |
|
|
static |
Setting default cursor image the current application.
- Parameters
-
◆ SetDefaultFont()
static void SpaceVIL.Common.DefaultsService.SetDefaultFont |
( |
Font |
font | ) |
|
|
static |
Setting the default font for the current application.
- Parameters
-
font | A font as System.Drawing.Font |
◆ SetDefaultTheme()
static void SpaceVIL.Common.DefaultsService.SetDefaultTheme |
( |
ThemeStyle |
theme | ) |
|
|
static |
Setting the default theme for the current application.
- Parameters
-
The documentation for this class was generated from the following file: