C# Class ComponentFactory.Krypton.Ribbon.CalculatedValues

Set of calculated values for use when laying out view elements.
Show file Open project: ComponentFactory/Krypton

Public Methods

Method Description
CalculatedValues ( KryptonRibbon ribbon ) : System

Initialize a new instance of the CalculatedValues class.

KeyTipRectToPoint ( Rectangle viewRect, int groupLine ) : Point

Find the correct screen point for a key tip given a rectangle and its group line.

Recalculate ( ) : void

Recalculate all the values.

Method Details

CalculatedValues() public method

Initialize a new instance of the CalculatedValues class.
public CalculatedValues ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Source control instance.
return System

KeyTipRectToPoint() public method

Find the correct screen point for a key tip given a rectangle and its group line.
public KeyTipRectToPoint ( Rectangle viewRect, int groupLine ) : Point
viewRect System.Drawing.Rectangle Screen rectangle of the view element.
groupLine int Group line the view is positioned on.
return Point

Recalculate() public method

Recalculate all the values.
public Recalculate ( ) : void
return void