C# Class Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: kasicass/kasicass Class Usage Examples

Méthodes publiques

Свойство Type Description
BaselineOffsetProperty DependencyProperty
HasTwoLinesProperty DependencyProperty
LineHeightProperty DependencyProperty
LineStackingStrategyProperty DependencyProperty
PaddingProperty DependencyProperty
PathDataProperty DependencyProperty
PathFillProperty DependencyProperty
PathStrokeProperty DependencyProperty
TextAlignmentProperty DependencyProperty
TextDecorationsProperty DependencyProperty
TextEffectsProperty DependencyProperty
TextProperty DependencyProperty
TextTrimmingProperty DependencyProperty

Private Properties

Свойство Type Description
MeasureWithConstraint void
MeasureWithoutConstraint void
RibbonTwoLineText System

Méthodes publiques

Méthode Description
GetHasTwoLines ( DependencyObject element ) : bool

Gets or sets a value indicating whether the RibbonTwoLineText should be allowed to layout on two lines or if it should be restricted to one.

GetPathData ( DependencyObject element ) : Geometry
OnApplyTemplate ( ) : void
SetHasTwoLines ( DependencyObject element, bool value ) : void
SetPathData ( DependencyObject element, Geometry value ) : void

Méthodes protégées

Méthode Description
MeasureOverride ( Size availableSize ) : Size
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer

Private Methods

Méthode Description
MeasureWithConstraint ( Size availableSize, TextPointer &secondLinePointer ) : void

Layout Text into two lines when width is restricted and determine if a LineBreak occurs.

MeasureWithoutConstraint ( TextPointer &secondLinePointer ) : void

Layout Text into two lines without any constraint and determine if a LineBreak occurs.

RibbonTwoLineText ( ) : System

Method Details

GetHasTwoLines() public static méthode

Gets or sets a value indicating whether the RibbonTwoLineText should be allowed to layout on two lines or if it should be restricted to one.
public static GetHasTwoLines ( DependencyObject element ) : bool
element DependencyObject
Résultat bool

GetPathData() public static méthode

public static GetPathData ( DependencyObject element ) : Geometry
element DependencyObject
Résultat Geometry

MeasureOverride() protected méthode

protected MeasureOverride ( Size availableSize ) : Size
availableSize Size
Résultat Size

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnCreateAutomationPeer() protected méthode

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
Résultat System.Windows.Automation.Peers.AutomationPeer

SetHasTwoLines() public static méthode

public static SetHasTwoLines ( DependencyObject element, bool value ) : void
element DependencyObject
value bool
Résultat void

SetPathData() public static méthode

public static SetPathData ( DependencyObject element, Geometry value ) : void
element DependencyObject
value Geometry
Résultat void

Property Details

BaselineOffsetProperty public_oe static_oe property

public static DependencyProperty BaselineOffsetProperty
Résultat DependencyProperty

HasTwoLinesProperty public_oe static_oe property

Using a DependencyProperty as the backing store for HasTwoLinesProperty. This enables animation, styling, binding, etc...
public static DependencyProperty HasTwoLinesProperty
Résultat DependencyProperty

LineHeightProperty public_oe static_oe property

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty LineHeightProperty
Résultat DependencyProperty

LineStackingStrategyProperty public_oe static_oe property

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty LineStackingStrategyProperty
Résultat DependencyProperty

PaddingProperty public_oe static_oe property

public static DependencyProperty PaddingProperty
Résultat DependencyProperty

PathDataProperty public_oe static_oe property

Defines Path data for the label's appending Geometry.
public static DependencyProperty PathDataProperty
Résultat DependencyProperty

PathFillProperty public_oe static_oe property

Using a DependencyProperty as the backing store for PathFillProperty. This enables animation, styling, binding, etc...
public static DependencyProperty PathFillProperty
Résultat DependencyProperty

PathStrokeProperty public_oe static_oe property

Using a DependencyProperty as the backing store for PathStrokeProperty. This enables animation, styling, binding, etc...
public static DependencyProperty PathStrokeProperty
Résultat DependencyProperty

TextAlignmentProperty public_oe static_oe property

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty TextAlignmentProperty
Résultat DependencyProperty

TextDecorationsProperty public_oe static_oe property

public static DependencyProperty TextDecorationsProperty
Résultat DependencyProperty

TextEffectsProperty public_oe static_oe property

public static DependencyProperty TextEffectsProperty
Résultat DependencyProperty

TextProperty public_oe static_oe property

Using a DependencyProperty as the backing store for TextProperty. This enables animation, styling, binding, etc...
public static DependencyProperty TextProperty
Résultat DependencyProperty

TextTrimmingProperty public_oe static_oe property

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty TextTrimmingProperty
Résultat DependencyProperty