C# Class ComponentFactory.Krypton.Toolkit.KryptonManager

Inheritance: System.ComponentModel.Component
Mostrar archivo Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
HasCircularReference bool
KryptonManager System
OnGlobalAllowFormChromeChanged void
OnGlobalPaletteChanged void
OnPalettePaint void
OnUserPreferenceChanged void
ResetToolStripManager void
SetPalette void
ShouldSerializeGlobalAllowFormChrome bool
ShouldSerializeGlobalApplyToolstrips bool
ShouldSerializeGlobalPaletteMode bool
ShouldSerializeGlobalStrings bool
UpdateToolStripManager void

Public Methods

Method Description
GetPaletteForMode ( PaletteMode mode ) : IPalette

Gets the implementation for the requested palette mode.

GetRendererForMode ( RendererMode mode ) : IRenderer

Gets the implementation for the requested renderer mode.

KryptonManager ( IContainer container ) : System

Initialize a new instance of the KryptonManager class.

ResetGlobalAllowFormChrome ( ) : void

Resets the GlobalAllowFormChrome property to its default value.

ResetGlobalApplyToolstrips ( ) : void

Resets the GlobalApplyToolstrips property to its default value.

ResetGlobalPalette ( ) : void

Resets the GlobalPalette property to its default value.

ResetGlobalPaletteMode ( ) : void

Resets the GlobalPaletteMode property to its default value.

ResetGlobalStrings ( ) : void

Resets the GlobalStrings property to its default value.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
HasCircularReference ( ) : bool
KryptonManager ( ) : System
OnGlobalAllowFormChromeChanged ( EventArgs e ) : void
OnGlobalPaletteChanged ( EventArgs e ) : void
OnPalettePaint ( object sender, PaletteLayoutEventArgs e ) : void
OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
ResetToolStripManager ( ) : void
SetPalette ( IPalette globalPalette ) : void
ShouldSerializeGlobalAllowFormChrome ( ) : bool
ShouldSerializeGlobalApplyToolstrips ( ) : bool
ShouldSerializeGlobalPaletteMode ( ) : bool
ShouldSerializeGlobalStrings ( ) : bool
UpdateToolStripManager ( ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetPaletteForMode() public static method

Gets the implementation for the requested palette mode.
public static GetPaletteForMode ( PaletteMode mode ) : IPalette
mode PaletteMode Requested palette mode.
return IPalette

GetRendererForMode() public static method

Gets the implementation for the requested renderer mode.
public static GetRendererForMode ( RendererMode mode ) : IRenderer
mode RendererMode Requested renderer mode.
return IRenderer

KryptonManager() public method

Initialize a new instance of the KryptonManager class.
public KryptonManager ( IContainer container ) : System
container IContainer Container that owns the component.
return System

ResetGlobalAllowFormChrome() public method

Resets the GlobalAllowFormChrome property to its default value.
public ResetGlobalAllowFormChrome ( ) : void
return void

ResetGlobalApplyToolstrips() public method

Resets the GlobalApplyToolstrips property to its default value.
public ResetGlobalApplyToolstrips ( ) : void
return void

ResetGlobalPalette() public method

Resets the GlobalPalette property to its default value.
public ResetGlobalPalette ( ) : void
return void

ResetGlobalPaletteMode() public method

Resets the GlobalPaletteMode property to its default value.
public ResetGlobalPaletteMode ( ) : void
return void

ResetGlobalStrings() public method

Resets the GlobalStrings property to its default value.
public ResetGlobalStrings ( ) : void
return void