Show / Hide Table of Contents

Interface IPluginData

Defines properties and methods that provide information about the main application.

Namespace: DesktopMagicPluginAPI
Assembly: DesktopMagicPluginAPI.dll
Syntax
public interface IPluginData

Properties

| Improve this Doc View Source

Color

Gets the current color of the current theme.

Declaration
[Obsolete("Use the \"Theme\" property instead")]
Color Color { get; }
Property Value
Type Description
System.Drawing.Color
| Improve this Doc View Source

Font

Gets the current font of the current theme.

Declaration
[Obsolete("Use the \"Theme\" property instead")]
string Font { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PluginName

Gets the name of the plugin.

Declaration
string PluginName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PluginPath

Gets the path of the parent directory of the plugin.

Declaration
string PluginPath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Theme

Gets the current theme setting of the main application.

Declaration
ITheme Theme { get; }
Property Value
Type Description
ITheme
| Improve this Doc View Source

WindowPosition

Gets the window position of the plugin window.

Declaration
Point WindowPosition { get; }
Property Value
Type Description
System.Drawing.Point
| Improve this Doc View Source

WindowSize

Gets the window size of the plugin window.

Declaration
Size WindowSize { get; }
Property Value
Type Description
System.Drawing.Size

Methods

| Improve this Doc View Source

UpdateWindow()

Updates the plugin window.

Declaration
void UpdateWindow()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX