C# Класс Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText

Наследование: System.Windows.Controls.Control
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Свойство Тип Описание
MeasureWithConstraint void
MeasureWithoutConstraint void
RibbonTwoLineText System

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
MeasureOverride ( Size availableSize ) : Size
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer

Приватные методы

Метод Описание
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

Описание методов

GetHasTwoLines() публичный статический Метод

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
Результат bool

GetPathData() публичный статический Метод

public static GetPathData ( DependencyObject element ) : Geometry
element DependencyObject
Результат Geometry

MeasureOverride() защищенный Метод

protected MeasureOverride ( Size availableSize ) : Size
availableSize Size
Результат Size

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

OnCreateAutomationPeer() защищенный Метод

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
Результат System.Windows.Automation.Peers.AutomationPeer

SetHasTwoLines() публичный статический Метод

public static SetHasTwoLines ( DependencyObject element, bool value ) : void
element DependencyObject
value bool
Результат void

SetPathData() публичный статический Метод

public static SetPathData ( DependencyObject element, Geometry value ) : void
element DependencyObject
value Geometry
Результат void

Описание свойств

BaselineOffsetProperty публичное статическое свойство

public static DependencyProperty BaselineOffsetProperty
Результат DependencyProperty

HasTwoLinesProperty публичное статическое свойство

Using a DependencyProperty as the backing store for HasTwoLinesProperty. This enables animation, styling, binding, etc...
public static DependencyProperty HasTwoLinesProperty
Результат DependencyProperty

LineHeightProperty публичное статическое свойство

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty LineHeightProperty
Результат DependencyProperty

LineStackingStrategyProperty публичное статическое свойство

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty LineStackingStrategyProperty
Результат DependencyProperty

PaddingProperty публичное статическое свойство

public static DependencyProperty PaddingProperty
Результат DependencyProperty

PathDataProperty публичное статическое свойство

Defines Path data for the label's appending Geometry.
public static DependencyProperty PathDataProperty
Результат DependencyProperty

PathFillProperty публичное статическое свойство

Using a DependencyProperty as the backing store for PathFillProperty. This enables animation, styling, binding, etc...
public static DependencyProperty PathFillProperty
Результат DependencyProperty

PathStrokeProperty публичное статическое свойство

Using a DependencyProperty as the backing store for PathStrokeProperty. This enables animation, styling, binding, etc...
public static DependencyProperty PathStrokeProperty
Результат DependencyProperty

TextAlignmentProperty публичное статическое свойство

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty TextAlignmentProperty
Результат DependencyProperty

TextDecorationsProperty публичное статическое свойство

public static DependencyProperty TextDecorationsProperty
Результат DependencyProperty

TextEffectsProperty публичное статическое свойство

public static DependencyProperty TextEffectsProperty
Результат DependencyProperty

TextProperty публичное статическое свойство

Using a DependencyProperty as the backing store for TextProperty. This enables animation, styling, binding, etc...
public static DependencyProperty TextProperty
Результат DependencyProperty

TextTrimmingProperty публичное статическое свойство

Adds RibbonTwoLineText as an owner of this property.
public static DependencyProperty TextTrimmingProperty
Результат DependencyProperty