WindowsClassicWizardRenderer Class
Provides a renderer for the Wizard control that has a Windows Classic appearance.
public class WindowsClassicWizardRenderer : WizardRenderer, IDisposable, IWizardRenderer, IUIRenderer
- Inheritance:
- object DisposableObjectBase UIRenderer WizardRenderer object
- Implements:
- IDisposable IWizardRenderer IUIRenderer
Constructors
WindowsClassicWizardRenderer()
Initializes an instance of the class.
public WindowsClassicWizardRenderer()
WindowsClassicWizardRenderer(IWindowsColorScheme)
Initializes an instance of the class.
protected WindowsClassicWizardRenderer(IWindowsColorScheme colorScheme)
| Parameter | Type | Description |
|---|---|---|
| colorScheme | IWindowsColorScheme | The IWindowsColorScheme to use as a base for the colors. |
Properties
WizardButtonContainerDefaultBackgroundFill
The BackgroundFill for a WizardButtonContainer.
public BackgroundFill? WizardButtonContainerDefaultBackgroundFill { get; set; }
Property Value
WizardExteriorPageDefaultBackgroundFill
The default BackgroundFill for an exterior page in a Wizard.
public BackgroundFill? WizardExteriorPageDefaultBackgroundFill { get; set; }
Property Value
WizardInteriorPageDefaultBackgroundFill
The default BackgroundFill for an interior page in a Wizard.
public BackgroundFill? WizardInteriorPageDefaultBackgroundFill { get; set; }
Property Value
WizardInteriorPageHeaderDefaultBackgroundFill
The default BackgroundFill for a WizardInteriorPageHeader.
public BackgroundFill? WizardInteriorPageHeaderDefaultBackgroundFill { get; set; }
Property Value
WizardInteriorPageHeaderDefaultImage
The default Image for a WizardInteriorPageHeader.
WizardInteriorPageHeaderImageSize
The Size in which each WizardInteriorPageHeaderImage should be drawn.
WizardInteriorPageHeaderImageSizeToFit
Whether to automatically resize each WizardInteriorPageHeaderImage to the Size specified in the WizardInteriorPageHeaderImageSize property.
public bool WizardInteriorPageHeaderImageSizeToFit { get; set; }
Property Value
- bool:
trueif images should be resized to the WizardInteriorPageHeaderImageSize; otherwise,false.
WizardPageCaptionFont
The Font to use when drawing wizard page captions in an interior page header.
public virtual Font? WizardPageCaptionFont { get; set; }
Property Value
Remarks
When null, text may not be rendered or a default system font may be used.
WizardPageCaptionForeColor
The foreground color of a wizard page caption in an interior page header.
WizardPageCaptionOffset
The offset of a wizard page caption in an interior page header.
WizardPageDescriptionFont
The Font to use when drawing wizard page descriptions in an interior page header.
public virtual Font? WizardPageDescriptionFont { get; set; }
Property Value
Remarks
When null, text may not be rendered or a default system font may be used.
WizardPageDescriptionForeColor
The foreground color of a wizard page description in an interior page header.
WizardPageDescriptionOffset
The offset of a wizard page description in an interior page header.
WizardWelcomePageWatermarkDefaultBackgroundFill
The default BackgroundFill for the watermark area of a welcome page in a Wizard.
public BackgroundFill? WizardWelcomePageWatermarkDefaultBackgroundFill { get; set; }
Property Value
Methods
Dispose(bool)
Releases the unmanaged resources used by the object and optionally releases the managed resources.
protected override void Dispose(bool disposing)
| Parameter | Type | Description |
|---|---|---|
| disposing | bool |
|
Remarks
This method is called by the public Dispose() method and the Finalize method.
Dispose invokes this method with the disposing parameter set to true.
Finalize invokes this method with disposing set to false.
DrawWizardBackground(PaintEventArgs, Rectangle, Wizard)
Draws the background of a Wizard.
public override void DrawWizardBackground(PaintEventArgs e, Rectangle bounds, Wizard wizard)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| wizard | Wizard | The Wizard that is being painted. |
DrawWizardButtonContainerBackground(PaintEventArgs, Rectangle, WizardButtonContainer)
Draws the background of a WizardButtonContainer.
public override void DrawWizardButtonContainerBackground(PaintEventArgs e, Rectangle bounds, WizardButtonContainer buttonContainer)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| buttonContainer | WizardButtonContainer | The WizardButtonContainer that is being painted. |
DrawWizardExteriorPageBackground(PaintEventArgs, Rectangle, WizardPage)
Draws the background of an exterior WizardPage.
public override void DrawWizardExteriorPageBackground(PaintEventArgs e, Rectangle bounds, WizardPage page)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| page | WizardPage | The WizardPage that is being painted. |
DrawWizardInteriorPageBackground(PaintEventArgs, Rectangle, WizardPage)
Draws the background of an interior WizardPage.
public override void DrawWizardInteriorPageBackground(PaintEventArgs e, Rectangle bounds, WizardPage page)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| page | WizardPage | The WizardPage that is being painted. |
DrawWizardInteriorPageHeaderBackground(PaintEventArgs, Rectangle, WizardInteriorPageHeader)
Draws the background of a WizardInteriorPageHeader.
public override void DrawWizardInteriorPageHeaderBackground(PaintEventArgs e, Rectangle bounds, WizardInteriorPageHeader header)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| header | WizardInteriorPageHeader | The WizardInteriorPageHeader that is being painted. |
DrawWizardInteriorPageHeaderForeground(PaintEventArgs, Rectangle, WizardInteriorPageHeader)
Draws the foreground of a WizardInteriorPageHeader.
public override void DrawWizardInteriorPageHeaderForeground(PaintEventArgs e, Rectangle bounds, WizardInteriorPageHeader header)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| header | WizardInteriorPageHeader | The WizardInteriorPageHeader that is being painted. |
DrawWizardSeparator(PaintEventArgs, Rectangle, Wizard)
Draws a separator in a Wizard.
public override void DrawWizardSeparator(PaintEventArgs e, Rectangle bounds, Wizard wizard)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| wizard | Wizard | The Wizard that is being painted. |
DrawWizardWelcomePageBackground(PaintEventArgs, Rectangle, WizardWelcomePage)
Draws the background of a welcome WizardPage.
public override void DrawWizardWelcomePageBackground(PaintEventArgs e, Rectangle bounds, WizardWelcomePage page)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | A PaintEventArgs that contains the event data. |
| bounds | Rectangle | The bounds in which to draw. |
| page | WizardWelcomePage | The WizardPage that is being painted. |
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
| Parameter | Type | Description |
|---|---|---|
| obj | object | The object to compare with the current object. |
Returns
- bool:
trueif the specified object is equal to the current object; otherwise,false.
GetHashCode()
Serves as the default hash function.
ResetAll(bool)
Resets all property values to their defaults.
protected override void ResetAll(bool force)
| Parameter | Type | Description |
|---|---|---|
| force | bool | Whether to force resetting. |
ResetWizardButtonContainerDefaultBackgroundFill()
Resets the WizardButtonContainerDefaultBackgroundFill property to its default value.
public virtual void ResetWizardButtonContainerDefaultBackgroundFill()
ResetWizardExteriorPageDefaultBackgroundFill()
Resets the WizardExteriorPageDefaultBackgroundFill property to its default value.
public virtual void ResetWizardExteriorPageDefaultBackgroundFill()
ResetWizardInteriorPageDefaultBackgroundFill()
Resets the WizardInteriorPageDefaultBackgroundFill property to its default value.
public virtual void ResetWizardInteriorPageDefaultBackgroundFill()
ResetWizardInteriorPageHeaderDefaultBackgroundFill()
Resets the WizardInteriorPageHeaderDefaultBackgroundFill property to its default value.
public virtual void ResetWizardInteriorPageHeaderDefaultBackgroundFill()
ResetWizardInteriorPageHeaderDefaultImage()
Resets the WizardInteriorPageHeaderDefaultImage property to its default value.
public virtual void ResetWizardInteriorPageHeaderDefaultImage()
ResetWizardInteriorPageHeaderImageSize()
Resets the WizardInteriorPageHeaderImageSize property to its default value.
public virtual void ResetWizardInteriorPageHeaderImageSize()
ResetWizardInteriorPageHeaderImageSizeToFit()
Resets the WizardInteriorPageHeaderImageSizeToFit property to its default value.
public virtual void ResetWizardInteriorPageHeaderImageSizeToFit()
ResetWizardPageCaptionFont()
Resets the WizardPageCaptionFont property to its default value.
public virtual void ResetWizardPageCaptionFont()
ResetWizardPageCaptionForeColor()
Resets the WizardPageCaptionForeColor property to its default value.
public virtual void ResetWizardPageCaptionForeColor()
ResetWizardPageCaptionOffset()
Resets the WizardPageCaptionOffset property to its default value.
public virtual void ResetWizardPageCaptionOffset()
ResetWizardPageDescriptionFont()
Resets the WizardPageDescriptionFont property to its default value.
public virtual void ResetWizardPageDescriptionFont()
ResetWizardPageDescriptionForeColor()
Resets the WizardPageDescriptionForeColor property to its default value.
public virtual void ResetWizardPageDescriptionForeColor()
ResetWizardPageDescriptionOffset()
Resets the WizardPageDescriptionOffset property to its default value.
public virtual void ResetWizardPageDescriptionOffset()
ResetWizardWelcomePageWatermarkDefaultBackgroundFill()
Resets the WizardWelcomePageWatermarkDefaultBackgroundFill property to its default value.
public virtual void ResetWizardWelcomePageWatermarkDefaultBackgroundFill()
ShouldSerializeWizardButtonContainerDefaultBackgroundFill()
Indicates whether the WizardButtonContainerDefaultBackgroundFill property should be persisted.
public virtual bool ShouldSerializeWizardButtonContainerDefaultBackgroundFill()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardExteriorPageDefaultBackgroundFill()
Indicates whether the WizardExteriorPageDefaultBackgroundFill property should be persisted.
public virtual bool ShouldSerializeWizardExteriorPageDefaultBackgroundFill()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardInteriorPageDefaultBackgroundFill()
Indicates whether the WizardInteriorPageDefaultBackgroundFill property should be persisted.
public virtual bool ShouldSerializeWizardInteriorPageDefaultBackgroundFill()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardInteriorPageHeaderDefaultBackgroundFill()
Indicates whether the WizardInteriorPageHeaderDefaultBackgroundFill property should be persisted.
public virtual bool ShouldSerializeWizardInteriorPageHeaderDefaultBackgroundFill()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardInteriorPageHeaderDefaultImage()
Indicates whether the WizardInteriorPageHeaderDefaultImage property should be persisted.
public virtual bool ShouldSerializeWizardInteriorPageHeaderDefaultImage()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardInteriorPageHeaderImageSize()
Indicates whether the WizardInteriorPageHeaderImageSize property should be persisted.
public virtual bool ShouldSerializeWizardInteriorPageHeaderImageSize()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardInteriorPageHeaderImageSizeToFit()
Indicates whether the WizardInteriorPageHeaderImageSizeToFit property should be persisted.
public virtual bool ShouldSerializeWizardInteriorPageHeaderImageSizeToFit()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardPageCaptionFont()
Indicates whether the WizardPageCaptionFont property should be persisted.
public virtual bool ShouldSerializeWizardPageCaptionFont()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardPageCaptionForeColor()
Indicates whether the WizardPageCaptionForeColor property should be persisted.
public virtual bool ShouldSerializeWizardPageCaptionForeColor()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardPageCaptionOffset()
Indicates whether the WizardPageCaptionOffset property should be persisted.
public virtual bool ShouldSerializeWizardPageCaptionOffset()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardPageDescriptionFont()
Indicates whether the WizardPageDescriptionFont property should be persisted.
public virtual bool ShouldSerializeWizardPageDescriptionFont()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardPageDescriptionForeColor()
Indicates whether the WizardPageDescriptionForeColor property should be persisted.
public virtual bool ShouldSerializeWizardPageDescriptionForeColor()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardPageDescriptionOffset()
Indicates whether the WizardPageDescriptionOffset property should be persisted.
public virtual bool ShouldSerializeWizardPageDescriptionOffset()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
ShouldSerializeWizardWelcomePageWatermarkDefaultBackgroundFill()
Indicates whether the WizardWelcomePageWatermarkDefaultBackgroundFill property should be persisted.
public virtual bool ShouldSerializeWizardWelcomePageWatermarkDefaultBackgroundFill()
Returns
- bool:
trueif the property value has changed from its default; otherwise,false.
Inherited Members
- WizardRenderer.OnSystemUserPreferenceColorChanged()
- WizardRenderer.ResetResetAllPropertiesOnSystemColorChange()
- WizardRenderer.ShouldSerializeResetAllPropertiesOnSystemColorChange()
- WizardRenderer.ResetWizardButtonContainerHeight()
- WizardRenderer.ShouldSerializeWizardButtonContainerHeight()
- WizardRenderer.ResetWizardInteriorPageHeaderHeight()
- WizardRenderer.ShouldSerializeWizardInteriorPageHeaderHeight()
- WizardRenderer.ResetWizardInteriorPageMargin()
- WizardRenderer.ShouldSerializeWizardInteriorPageMargin()
- WizardRenderer.ResetWizardSeparatorHeight()
- WizardRenderer.ShouldSerializeWizardSeparatorHeight()
- WizardRenderer.ResetAllPropertiesOnSystemColorChange
- WizardRenderer.WizardButtonContainerHeight
- WizardRenderer.WizardInteriorPageHeaderHeight
- WizardRenderer.WizardInteriorPageMargin
- WizardRenderer.WizardSeparatorHeight
- UIRenderer.OnColorSchemeChanged()
- UIRenderer.OnPropertyChanged(EventArgs)
- UIRenderer.ColorScheme
- UIRenderer.IsSystemUserPreferenceColorChangeMonitored
- UIRenderer.PropertyChanged
- DisposableObjectBase.Dispose()
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)