Class XpUserStyle
Inheritance
System.Object
XpUserStyle
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.Shared.Base.dll
Constructors
Declaration
Properties
Get or set user name text font for active mode.
Declaration
public Font ActiveFont { get; set; }
Property Value
Get or set gradient style rectangle in user icon for active mode.
Declaration
public StyleGradientObject ActiveRectangle { get; set; }
Property Value
Get or set help name text color for active mode.
Declaration
public Font ActiveUserHelpFont { get; set; }
Property Value
Get or set background gradient style.
Declaration
public StyleGradientObject Background { get; set; }
Property Value
Get or set help name text color for default mode.
Declaration
public Font DefaultUserHelpFont { get; set; }
Property Value
Get or set draw shadow rectangle in icon.
Declaration
public bool DrawShadow { get; set; }
Property Value
Get or set user name text font for default mode.
Declaration
public Font Font { get; set; }
Property Value
Get or set radius rounded icons.
Declaration
public int IconRadius { get; set; }
Property Value
Get or set gradient style rectangle in user icon for default mode.
Declaration
public StyleGradientObject NormalRectangle { get; set; }
Property Value
True - do not raise any events, otherwise False.
Declaration
protected bool QuietMode { get; set; }
Property Value
Get or set radius rounded rectangle in icon.
Declaration
public int RectRadius { get; set; }
Property Value
Get or set shadow size at pixel.
Declaration
public int ShadowSize { get; set; }
Property Value
Get or set user name text color for active mode.
Declaration
public Color UserHelpColorActive { get; set; }
Property Value
Type |
System.Drawing.Color |
Get or set user name text color for default mode.
Declaration
public Color UserHelpColorDefault { get; set; }
Property Value
Type |
System.Drawing.Color |
Get or set User name text font for active mode.
Declaration
public Color UserNameColorActive { get; set; }
Property Value
Type |
System.Drawing.Color |
User name text font for default mode.
Declaration
public Color UserNameColorDefault { get; set; }
Property Value
Type |
System.Drawing.Color |
Methods
Declaration
public void DrawControlBackground(Graphics g, Rectangle bounds)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics for paint.
|
System.Drawing.Rectangle |
bounds |
Rectangle it sketch.
|
Draw image rounded rectangle.
Declaration
public void DrawImageRect(Graphics g, GraphicsPath rc, bool bActive)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
Graphics for paint.
|
System.Drawing.Drawing2D.GraphicsPath |
rc |
GraphicsPath rounded rectangle.
|
System.Boolean |
bActive |
Active mode.
|
Occurs when active font changed.
Declaration
protected virtual void OnActiveFontChanged(ValueChangedEventArgs args)
Parameters
Occurs when active user help font changed.
Declaration
protected virtual void OnActiveUserHelpFontChanged(ValueChangedEventArgs args)
Parameters
Occurs when background end color changed.
Declaration
protected virtual void OnBackgroundEndColorChanged(ValueChangedEventArgs args)
Parameters
Occurs when background gradient changed.
Declaration
protected virtual void OnBackgroundGradientChanged(ValueChangedEventArgs args)
Parameters
Occurs when background start color changed.
Declaration
protected virtual void OnBackgroundStartColorChanged(ValueChangedEventArgs args)
Parameters
Occurs when default user help font changed.
Declaration
protected virtual void OnDefaultUserHelpFontChanged(ValueChangedEventArgs args)
Parameters
Occurs when draw shadow changed.
Declaration
protected virtual void OnDrawShadowChanged(ValueChangedEventArgs args)
Parameters
Occurs when font changed.
Declaration
protected virtual void OnFontChanged(ValueChangedEventArgs args)
Parameters
Occurs when icon radius changed.
Declaration
protected virtual void OnIconRadiusChanged(ValueChangedEventArgs args)
Parameters
Occurs when quiet mode changed.
Declaration
protected virtual void OnQuietModeChanged()
Occurs when RectColorActive �hanged.
Declaration
protected virtual void OnRectColorActiveChanged(ValueChangedEventArgs args)
Parameters
Occurs when RectColorDefault �hanged.
Declaration
protected virtual void OnRectColorDefaultChanged(ValueChangedEventArgs args)
Parameters
Occurs when RectRadius changed.
Declaration
protected virtual void OnRectRadiusChanged(ValueChangedEventArgs args)
Parameters
Occurs when shadow size changed
Declaration
protected virtual void OnShadowSizeChanged(ValueChangedEventArgs args)
Parameters
Occurs when user help color active changed.
Declaration
protected virtual void OnUserHelpColorActiveChanged(ValueChangedEventArgs args)
Parameters
Occurs when user help color default changed.
Declaration
protected virtual void OnUserHelpColorDefaultChanged(ValueChangedEventArgs args)
Parameters
Occurs when user name color active changed.
Declaration
protected virtual void OnUserNameColorActiveChanged(ValueChangedEventArgs args)
Parameters
Occurs when user name color default changed.
Declaration
protected virtual void OnUserNameColorDefaultChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseActiveFontChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseActiveUserHelpFontChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseBackgroundEndColorChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseBackgroundGradientChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseBackgroundStartColorChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseDefaultUserHelpFontChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseDrawShadowChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseFontChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseIconRadiusChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseOnChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseQuietModeChangedEvent()
Declaration
protected void RaiseRectColorActiveChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseRectColorDefaultChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseRectRadiusChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseShadowSizeChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseUserHelpColorActiveChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseUserHelpColorDefaultChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseUserNameColorActiveChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected void RaiseUserNameColorDefaultChanged(ValueChangedEventArgs args)
Parameters
Declaration
protected bool ShouldSerializeActiveFont()
Returns
Declaration
protected bool ShouldSerializeActiveUserHelpFont()
Returns
Declaration
protected bool ShouldSerializeDefaultUserHelpFont()
Returns
Declaration
protected bool ShouldSerializeFont()
Returns
Declaration
protected bool ShouldSerializeUserHelpColorActive()
Returns
Declaration
protected bool ShouldSerializeUserHelpColorDefault()
Returns
Declaration
protected bool ShouldSerializeUserNameColorActive()
Returns
Declaration
protected bool ShouldSerializeUserNameColorDefault()
Returns
Events
Occurs when active font changed.
Declaration
public event ValueChangedEventHandler ActiveFontChanged
Event Type
Occurs when active user help font changed.
Declaration
public event ValueChangedEventHandler ActiveUserHelpFontChanged
Event Type
Occurs when background end color changed.
Declaration
public event ValueChangedEventHandler BackgroundEndColorChanged
Event Type
Occurs when background gradient changed.
Declaration
public event ValueChangedEventHandler BackgroundGradientChanged
Event Type
Occurs when background start color changed.
Declaration
public event ValueChangedEventHandler BackgroundStartColorChanged
Event Type
Occurs when default user help font changed.
Declaration
public event ValueChangedEventHandler DefaultUserHelpFontChanged
Event Type
Occurs when draw shadow changed.
Declaration
public event ValueChangedEventHandler DrawShadowChanged
Event Type
Occurs when font changed.
Declaration
public event ValueChangedEventHandler FontChanged
Event Type
Occurs when icon radius changed.
Declaration
public event ValueChangedEventHandler IconRadiusChanged
Event Type
Occurs when StyleGradientObject changed.
Declaration
public event EventHandler OnChanged
Event Type
Occurs when quiet mode changed.
Declaration
public event EventHandler QuietModeChanged
Event Type
Occurs when RectColorActive �hanged.
Declaration
public event ValueChangedEventHandler RectColorActiveChanged
Event Type
Occurs when RectColorDefault �hanged.
Declaration
public event ValueChangedEventHandler RectColorDefaultChanged
Event Type
Occurs when RectRadius changed.
Declaration
public event ValueChangedEventHandler RectRadiusChanged
Event Type
Occurs when shadow size changed
Declaration
public event ValueChangedEventHandler ShadowSizeChanged
Event Type
Occurs when user help color active changed.
Declaration
public event ValueChangedEventHandler UserHelpColorActiveChanged
Event Type
Occurs when user help color default changed.
Declaration
public event ValueChangedEventHandler UserHelpColorDefaultChanged
Event Type
Occurs when user name color active changed.
Declaration
public event ValueChangedEventHandler UserNameColorActiveChanged
Event Type
Occurs when user name color default changed.
Declaration
public event ValueChangedEventHandler UserNameColorDefaultChanged
Event Type