Property | 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 |
Property | Type | Description | |
---|---|---|---|
MeasureWithConstraint | void | ||
MeasureWithoutConstraint | void | ||
RibbonTwoLineText | System |
Method | 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 |
Method | Description | |
---|---|---|
MeasureOverride ( Size availableSize ) : Size | ||
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer |
Method | 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 |
public static GetHasTwoLines ( DependencyObject element ) : bool | ||
element | DependencyObject | |
return | bool |
public static GetPathData ( DependencyObject element ) : Geometry | ||
element | DependencyObject | |
return | Geometry |
protected MeasureOverride ( Size availableSize ) : Size | ||
availableSize | Size | |
return | Size |
protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer | ||
return | System.Windows.Automation.Peers.AutomationPeer |
public static SetHasTwoLines ( DependencyObject element, bool value ) : void | ||
element | DependencyObject | |
value | bool | |
return | void |
public static SetPathData ( DependencyObject element, Geometry value ) : void | ||
element | DependencyObject | |
value | Geometry | |
return | void |
public static DependencyProperty BaselineOffsetProperty | ||
return | DependencyProperty |
public static DependencyProperty HasTwoLinesProperty | ||
return | DependencyProperty |
public static DependencyProperty LineHeightProperty | ||
return | DependencyProperty |
public static DependencyProperty LineStackingStrategyProperty | ||
return | DependencyProperty |
public static DependencyProperty PaddingProperty | ||
return | DependencyProperty |
public static DependencyProperty PathDataProperty | ||
return | DependencyProperty |
public static DependencyProperty PathFillProperty | ||
return | DependencyProperty |
public static DependencyProperty PathStrokeProperty | ||
return | DependencyProperty |
public static DependencyProperty TextAlignmentProperty | ||
return | DependencyProperty |
public static DependencyProperty TextDecorationsProperty | ||
return | DependencyProperty |
public static DependencyProperty TextEffectsProperty | ||
return | DependencyProperty |
public static DependencyProperty TextProperty | ||
return | DependencyProperty |