RibbonControlLength 結構

定義

表示 RibbonControlSizeDefinition 中的寬度。

public value class RibbonControlLength : IEquatable<System::Windows::Controls::Ribbon::RibbonControlLength>
[System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.RibbonControlLengthConverter))]
public struct RibbonControlLength : IEquatable<System.Windows.Controls.Ribbon.RibbonControlLength>
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.RibbonControlLengthConverter))>]
type RibbonControlLength = struct
Public Structure RibbonControlLength
Implements IEquatable(Of RibbonControlLength)
繼承
RibbonControlLength
屬性
實作

建構函式

RibbonControlLength(Double)

使用絕對值 (以像素為單位) 初始化 RibbonControlLength 結構的新執行個體。

RibbonControlLength(Double, RibbonControlLengthUnitType)

使用指定的值和長度單位,初始化 RibbonControlLength 結構的新執行個體。

屬性

Auto

取得表示標準自動調整大小模式的 RibbonControlLength 結構。

IsAbsolute

取得值,這個值表示這個執行個體是否會根據固定像素或邏輯值調整項目的大小。

IsAuto

取得值,這個值表示此執行個體是否會自動調整項目的大小。

IsStar

取得值,這個值表示此執行個體是否會根據可用空間的加權比例,自動調整項目的大小。

RibbonControlLengthUnitType

取得用於決定項目大小計算方式的型別。

Value

取得 RibbonControlLength 的絕對值,以像素或邏輯單位為單位。

方法

Equals(Object)

判斷指定的物件是否等於目前的 RibbonControlLength

Equals(RibbonControlLength)

判斷指定的 RibbonControlLength 是否等於目前的 RibbonControlLength

GetHashCode()

取得 RibbonControlLength 的雜湊程式碼。

ToString()

傳回代表目前物件的字串。

運算子

Equality(RibbonControlLength, RibbonControlLength)

比較兩個 RibbonControlLength 結構是否相等。

Inequality(RibbonControlLength, RibbonControlLength)

比較兩個 RibbonControlLength 結構,判斷它們是否不相等。

適用於