StatusBar Class

Constructors & Destructor | Member Functions | Enumerated Types | Constants | Member Variables

Definition

Line 11 of System.Windows/StatusBar.cm

Inheritance

Constructors & Destructor

public StatusBar()
public StatusBar(const Font& font_, const Color& backgroundColor, const Point& location, const Size& size, Dock dock, Anchors anchors)

Member Functions

public void AddItem(StatusBarItem* statusBarItem)
private inline bool Changed() const
protected override Padding DefaultPadding() const
private Result<bool> DrawItems(Graphics& graphics)
private Result<bool> DrawTopLine(Graphics& graphics)
private Result<bool> Measure(Graphics& graphics)
protected override Result<bool> OnPaint(PaintEventArgs& args)
public inline const Color& RaisedBorderInnerRightBottomColor() const
internal inline const Pen& RaisedBorderInnerRightBottomPen() const
public inline const Color& RaisedBorderInnerTopLeftColor() const
internal inline const Pen& RaisedBorderInnerTopLeftPen() const
public inline const Color& RaisedBorderOuterRightBottomColor() const
internal inline const Pen& RaisedBorderOuterRightBottomPen() const
public inline const Color& RaisedBorderOuterTopLeftColor() const
internal inline const Pen& RaisedBorderOuterTopLeftPen() const
private inline void ResetChanged()
public inline void SetChanged()
public void SetRaisedBorderInnerRightBottomColor(const Color& raisedBorderInnerRightBottomColor_)
public void SetRaisedBorderInnerTopLeftColor(const Color& raisedBorderInnerTopLeftColor_)
public void SetRaisedBorderOuterTopLeftColor(const Color& raisedBorderOuterTopLeftColor_)
public void SetRaisedBorderRightBottomColor(const Color& raisedBorderOuterRightBottomColor_)
public void SetSunkenBorderInnerRightBottomColor(const Color& sunkenBorderInnerRightBottomColor_)
public void SetSunkenBorderInnerTopLeftColor(const Color& sunkenBorderInnerTopLeftColor_)
public void SetSunkenBorderOuterRightBottomColor(const Color& sunkenBorderOuterRightBottomColor_)
public void SetSunkenBorderOuterTopLeftColor(const Color& sunkenBorderOuterTopLeftColor_)
public void SetTextColor(const Color& textColor_)
public void SetTopLineColor(const Color& topLineColor_)
public inline const Color& SunkenBorderInnerRightBottomColor() const
internal inline const Pen& SunkenBorderInnerRightBottomPen() const
public inline const Color& SunkenBorderInnerTopLeftColor() const
internal inline const Pen& SunkenBorderInnerTopLeftPen() const
public inline const Color& SunkenBorderOuterRightBottomColor() const
internal inline const Pen& SunkenBorderOuterRightBottomPen() const
public inline const Color& SunkenBorderOuterTopLeftColor() const
internal inline const Pen& SunkenBorderOuterTopLeftPen() const
internal inline const Brush& TextBrush() const
public inline const Color& TextColor() const
internal inline const Font& TextFont() const
public inline const Color& TopLineColor() const
internal inline const Pen& TopLinePen() const

Enumerated Types

private enum Flags

Constants

private const int initialHeight 20
private const int topLineWidth 1

Member Variables

private Flags flags
private Font font
private Color raisedBorderInnerRightBottomColor
private Pen raisedBorderInnerRightBottomPen
private Color raisedBorderInnerTopLeftColor
private Pen raisedBorderInnerTopLeftPen
private Color raisedBorderOuterRightBottomColor
private Pen raisedBorderOuterRightBottomPen
private Color raisedBorderOuterTopLeftColor
private Pen raisedBorderOuterTopLeftPen
private List<UniquePtr<StatusBarItem>> statusBarItems
private StringFormat stringFormat
private Color sunkenBorderInnerRightBottomColor
private Pen sunkenBorderInnerRightBottomPen
private Color sunkenBorderInnerTopLeftColor
private Pen sunkenBorderInnerTopLeftPen
private Color sunkenBorderOuterRightBottomColor
private Pen sunkenBorderOuterRightBottomPen
private Color sunkenBorderOuterTopLeftColor
private Pen sunkenBorderOuterTopLeftPen
private SolidBrush textBrush
private Color textColor
private Color topLineColor
private Pen topLinePen

Constructor& Destructor Details

StatusBar Constructor

public StatusBar()

Definition
Line 77 of System.Windows/StatusBar.cm


StatusBar Constructor

public StatusBar(const Font& font_, const Color& backgroundColor, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 21 of System.Windows/StatusBar.cm


Member Function Details

AddItem Member Function

public void AddItem(StatusBarItem* statusBarItem)

Definition
Line 80 of System.Windows/StatusBar.cm


Changed Member Function

private inline bool Changed()

Definition
Line 393 of System.Windows/StatusBar.cm


DefaultPadding Member Function

protected override Padding DefaultPadding()

Definition
Line 261 of System.Windows/StatusBar.cm


DrawItems Member Function

private Result<bool> DrawItems(Graphics& graphics)

Definition
Line 306 of System.Windows/StatusBar.cm


DrawTopLine Member Function

private Result<bool> DrawTopLine(Graphics& graphics)

Definition
Line 294 of System.Windows/StatusBar.cm


Measure Member Function

private Result<bool> Measure(Graphics& graphics)

Definition
Line 321 of System.Windows/StatusBar.cm


OnPaint Member Function

protected override Result<bool> OnPaint(PaintEventArgs& args)

Definition
Line 266 of System.Windows/StatusBar.cm


RaisedBorderInnerRightBottomColor Member Function

public inline const Color& RaisedBorderInnerRightBottomColor()

Definition
Line 244 of System.Windows/StatusBar.cm


RaisedBorderInnerRightBottomPen Member Function

internal inline const Pen& RaisedBorderInnerRightBottomPen()

Definition
Line 257 of System.Windows/StatusBar.cm


RaisedBorderInnerTopLeftColor Member Function

public inline const Color& RaisedBorderInnerTopLeftColor()

Definition
Line 226 of System.Windows/StatusBar.cm


RaisedBorderInnerTopLeftPen Member Function

internal inline const Pen& RaisedBorderInnerTopLeftPen()

Definition
Line 239 of System.Windows/StatusBar.cm


RaisedBorderOuterRightBottomColor Member Function

public inline const Color& RaisedBorderOuterRightBottomColor()

Definition
Line 209 of System.Windows/StatusBar.cm


RaisedBorderOuterRightBottomPen Member Function

internal inline const Pen& RaisedBorderOuterRightBottomPen()

Definition
Line 222 of System.Windows/StatusBar.cm


RaisedBorderOuterTopLeftColor Member Function

public inline const Color& RaisedBorderOuterTopLeftColor()

Definition
Line 192 of System.Windows/StatusBar.cm


RaisedBorderOuterTopLeftPen Member Function

internal inline const Pen& RaisedBorderOuterTopLeftPen()

Definition
Line 205 of System.Windows/StatusBar.cm


ResetChanged Member Function

private inline void ResetChanged()

Definition
Line 401 of System.Windows/StatusBar.cm


SetChanged Member Function

public inline void SetChanged()

Definition
Line 397 of System.Windows/StatusBar.cm


SetRaisedBorderInnerRightBottomColor Member Function

public void SetRaisedBorderInnerRightBottomColor(const Color& raisedBorderInnerRightBottomColor_)

Definition
Line 248 of System.Windows/StatusBar.cm


SetRaisedBorderInnerTopLeftColor Member Function

public void SetRaisedBorderInnerTopLeftColor(const Color& raisedBorderInnerTopLeftColor_)

Definition
Line 230 of System.Windows/StatusBar.cm


SetRaisedBorderOuterTopLeftColor Member Function

public void SetRaisedBorderOuterTopLeftColor(const Color& raisedBorderOuterTopLeftColor_)

Definition
Line 196 of System.Windows/StatusBar.cm


SetRaisedBorderRightBottomColor Member Function

public void SetRaisedBorderRightBottomColor(const Color& raisedBorderOuterRightBottomColor_)

Definition
Line 213 of System.Windows/StatusBar.cm


SetSunkenBorderInnerRightBottomColor Member Function

public void SetSunkenBorderInnerRightBottomColor(const Color& sunkenBorderInnerRightBottomColor_)

Definition
Line 179 of System.Windows/StatusBar.cm


SetSunkenBorderInnerTopLeftColor Member Function

public void SetSunkenBorderInnerTopLeftColor(const Color& sunkenBorderInnerTopLeftColor_)

Definition
Line 145 of System.Windows/StatusBar.cm


SetSunkenBorderOuterRightBottomColor Member Function

public void SetSunkenBorderOuterRightBottomColor(const Color& sunkenBorderOuterRightBottomColor_)

Definition
Line 162 of System.Windows/StatusBar.cm


SetSunkenBorderOuterTopLeftColor Member Function

public void SetSunkenBorderOuterTopLeftColor(const Color& sunkenBorderOuterTopLeftColor_)

Definition
Line 128 of System.Windows/StatusBar.cm


SetTextColor Member Function

public void SetTextColor(const Color& textColor_)

Definition
Line 90 of System.Windows/StatusBar.cm


SetTopLineColor Member Function

public void SetTopLineColor(const Color& topLineColor_)

Definition
Line 115 of System.Windows/StatusBar.cm


SunkenBorderInnerRightBottomColor Member Function

public inline const Color& SunkenBorderInnerRightBottomColor()

Definition
Line 175 of System.Windows/StatusBar.cm


SunkenBorderInnerRightBottomPen Member Function

internal inline const Pen& SunkenBorderInnerRightBottomPen()

Definition
Line 188 of System.Windows/StatusBar.cm


SunkenBorderInnerTopLeftColor Member Function

public inline const Color& SunkenBorderInnerTopLeftColor()

Definition
Line 141 of System.Windows/StatusBar.cm


SunkenBorderInnerTopLeftPen Member Function

internal inline const Pen& SunkenBorderInnerTopLeftPen()

Definition
Line 154 of System.Windows/StatusBar.cm


SunkenBorderOuterRightBottomColor Member Function

public inline const Color& SunkenBorderOuterRightBottomColor()

Definition
Line 158 of System.Windows/StatusBar.cm


SunkenBorderOuterRightBottomPen Member Function

internal inline const Pen& SunkenBorderOuterRightBottomPen()

Definition
Line 171 of System.Windows/StatusBar.cm


SunkenBorderOuterTopLeftColor Member Function

public inline const Color& SunkenBorderOuterTopLeftColor()

Definition
Line 124 of System.Windows/StatusBar.cm


SunkenBorderOuterTopLeftPen Member Function

internal inline const Pen& SunkenBorderOuterTopLeftPen()

Definition
Line 137 of System.Windows/StatusBar.cm


TextBrush Member Function

internal inline const Brush& TextBrush()

Definition
Line 99 of System.Windows/StatusBar.cm


TextColor Member Function

public inline const Color& TextColor()

Definition
Line 86 of System.Windows/StatusBar.cm


TextFont Member Function

internal inline const Font& TextFont()

Definition
Line 103 of System.Windows/StatusBar.cm


TopLineColor Member Function

public inline const Color& TopLineColor()

Definition
Line 111 of System.Windows/StatusBar.cm


TopLinePen Member Function

internal inline const Pen& TopLinePen()

Definition
Line 107 of System.Windows/StatusBar.cm