Class BarsDrawer
Namespace: FastReport.Olap.Styling
Assembly: FastCube.WinForms.dll
Drawer implementation for FastCube.WinFroms
public class BarsDrawer : Drawer
Inheritance
object ← Drawer ← BarsDrawer
Inherited Members
Drawer.ItemButtonThemeSpacing, Drawer.TreeButtonSize, Drawer.axisCellSpacing, Drawer.itemButtonMinTextRect, Drawer.BackgroundColor, Drawer.DefaultCellBackground, Drawer.DefaultCellBorder, Drawer.DefaultCellText, Drawer.dropPolygonSize, Drawer.ExpandBorderColor, Drawer.ExpandLineColor, Drawer.fuelPolygonSize, Drawer.SelectedCellBackground, Drawer.SortIndicatorColor, Drawer.sortPolygonSize, Drawer.sortSize, Drawer.SplitterColor, Drawer.style, Drawer.UIStyle, Drawer.UIStyleName, Drawer.UIStyleNames, Drawer.CheckStateToWindowsForms(CheckState), Drawer.CreateLinearGradientBrush(Rectangle, Color, Color, LinearGradientMode), Drawer.DrawerStateToButtonState(DrawerState), Drawer.DrawGradient(Graphics, Rectangle, Color, Color, GradientType), Drawer.DrawStyleBackground(Graphics, Rectangle, Style), Drawer.DrawStyleBorder(Graphics, Rectangle, Style), Drawer.DrawStyleText(Graphics, Rectangle, Style, string, TextFormatFlags), Drawer.DrawText(Graphics, Font, Color, Rectangle, string, TextFormatFlags), Drawer.DrawAxisCell(Graphics, Font, bool, Rectangle, string, PropertyOfCellAxis, Alignment, DrawerState, Style, bool, out Point, out Point, ImageList, int, bool), Drawer.DrawColHeaderCell(Graphics, Font, Rectangle, string, DrawerState, bool, ItemOptions, SortDirection), Drawer.DrawConnector(Graphics, Point, Point), Drawer.DrawDataCell(Graphics, Font, Rectangle, string, CellState, DrawerState, Alignment, ImageList, int, Style, HighlightDrawHandler, object), Drawer.DrawDropDownButton(Graphics, Rectangle, ItemOptions, SortDirection, DrawerState), Drawer.DrawDropIndicator(Graphics, Rectangle), Drawer.DrawExpandButton(Graphics, Rectangle, bool, bool), Drawer.DrawGridBody(Graphics, Rectangle), Drawer.DrawImageCell(Graphics, Rectangle, DrawerState), Drawer.DrawItemButton(Graphics, Font, Rectangle, string, ImageList, int, ItemOptions, SortDirection, DrawerState), Drawer.DrawRowHeaderCell(Graphics, Font, Rectangle, string, DrawerState, bool), Drawer.DrawRowIndicator(Graphics, Rectangle), Drawer.DrawScroll(Graphics, Rectangle, DrawerState, Scrollers), Drawer.DrawSelText(Graphics, Font, Rectangle, string, TextFormatFlags, int, int, int), Drawer.DrawSizingLine(Graphics, Point, Point), Drawer.GetButtonTextColor(DrawerState), Drawer.GetControlColor(), Drawer.GetExpandBorderPen(bool, bool), Drawer.GetExpandBrush(Rectangle), Drawer.GetExpandPen(bool, bool), Drawer.GetHeaderTextColor(bool), Drawer.GetItemButtonDropRect(Rectangle, ItemOptions), Drawer.GetScrollerSize(), Drawer.GetSplitterPen(), Drawer.MeasureAxisCell(Font, Size, string, PropertyOfCellAxis, Alignment, DrawerState, bool, ImageList, int), Drawer.PaintCheckBox(Graphics, Rectangle, CheckState, bool, DrawerState), Drawer.PaintHighlight(Graphics, Rectangle, bool), Drawer.SetControlStyle(Control), Drawer.AlignmentToFlags(Alignment), Drawer.DrawChevron(Graphics, Rectangle, Color, Scrollers), Drawer.DrawColHeaderBg(Graphics, Rectangle, DrawerState, bool), Drawer.DrawDropDownButtonBackground(Graphics, Rectangle, DrawerState), Drawer.DrawItemButtonBackground(Graphics, Rectangle, DrawerState), Drawer.DrawRowHeaderBg(Graphics, Rectangle, DrawerState, bool), Drawer.DrawSort(Graphics, Point, SortDirection), Drawer.GetCheckBoxState(CheckState, DrawerState), Drawer.GetConnectorPen(), Drawer.GetDropPolygon(Rectangle), Drawer.GetFuelPolygon(Rectangle), Drawer.GetHeaderElement(DrawerState), Drawer.GetPushButtonState(DrawerState), Drawer.GetRadioButtonState(CheckState, DrawerState), Drawer.GetSortPolygon(Rectangle, SortDirection), Drawer.HasSpaceForTreeButton(Rectangle), Drawer.PaintHighlight(Graphics, Rectangle, GraphicsPath, Brush, Pen)
Constructors
BarsDrawer()
Creates a new instance.
public BarsDrawer()
Fields
ActiveImageCell
Color table for active image cell.
public SelectionColorTable ActiveImageCell
Field Value
SelectionColorTable
HighlightCellsColorTable
Color table for hightlight cells.
public SelectionColorTable HighlightCellsColorTable
Field Value
SelectionColorTable
HighlightCellsInactiveColorTable
Color table for inactive highlight cells.
public SelectionColorTable HighlightCellsInactiveColorTable
Field Value
SelectionColorTable
PressedImageCell
Color table for pressed iamge cell.
public SelectionColorTable PressedImageCell
Field Value
SelectionColorTable
Properties
UIStyle
Gets or sets current user interface style.
public override UIStyle UIStyle { get; set; }
Property Value
UIStyleName
Gets or sets user interface style name.
public override string UIStyleName { get; set; }
Property Value
UIStyleNames
Gets available user interface style names.
public override string[] UIStyleNames { get; }
Property Value
string[]
Methods
DrawColHeaderBg(Graphics, Rectangle, DrawerState, bool)
Draws column header background.
protected override void DrawColHeaderBg(Graphics g, Rectangle r, DrawerState State, bool IsSelected)
Parameters
g
Graphics
State
DrawerState
IsSelected
bool
DrawDropDownButtonBackground(Graphics, Rectangle, DrawerState)
Draws dropdown button background.
protected override void DrawDropDownButtonBackground(Graphics g, Rectangle r, DrawerState state)
Parameters
g
Graphics
state
DrawerState
DrawImageCell(Graphics, Rectangle, DrawerState)
Draws image cell.
public override void DrawImageCell(Graphics g, Rectangle r, DrawerState State)
Parameters
g
Graphics
State
DrawerState
DrawItemButtonBackground(Graphics, Rectangle, DrawerState)
Draws item button background.
protected override void DrawItemButtonBackground(Graphics g, Rectangle r, DrawerState state)
Parameters
g
Graphics
state
DrawerState
DrawRowHeaderBg(Graphics, Rectangle, DrawerState, bool)
Draws row header background.
protected override void DrawRowHeaderBg(Graphics g, Rectangle r, DrawerState State, bool IsSelected)
Parameters
g
Graphics
State
DrawerState
IsSelected
bool
GetAppWorkspaceColor()
Returns app workspace color for the given style.
public Color GetAppWorkspaceColor()
Returns
GetButtonTextColor(DrawerState)
Get button text color based on state.
public override Color GetButtonTextColor(DrawerState state)
Parameters
state
DrawerState
Returns
GetControlColor()
Gets control color.
public override Color GetControlColor()
Returns
GetExpandBrush(Rectangle)
Gets a new brush.
public override Brush GetExpandBrush(Rectangle r)
Parameters
Returns
GetHeaderTextColor(bool)
Gets header text color based on seleceted.
public override Color GetHeaderTextColor(bool Selected)
Parameters
Selected
bool
Returns
PaintCheckBox(Graphics, Rectangle, CheckState, bool, DrawerState)
Paints check box.
public override void PaintCheckBox(Graphics g, Rectangle r, CheckState checkState, bool IsRadio, DrawerState state)
Parameters
g
Graphics
checkState
CheckState
IsRadio
bool
state
DrawerState
PaintHighlight(Graphics, Rectangle, bool)
Paints hightlight.
public override void PaintHighlight(Graphics g, Rectangle r, bool IsActive)
Parameters
g
Graphics
IsActive
bool
SetControlStyle(Control)
Sets style in the control.
public override void SetControlStyle(Control control)
Parameters
control
Control