C# Class ComponentFactory.Krypton.Ribbon.CalculatedValues

Set of calculated values for use when laying out view elements.
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode 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 méthode

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

KeyTipRectToPoint() public méthode

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.
Résultat Point

Recalculate() public méthode

Recalculate all the values.
public Recalculate ( ) : void
Résultat void