共用方式為


AlignmentAttribute 類別

定義

將此屬性套用至屬性和欄位,以指示 BindingCoNtext 如何對齊資料列上的文字。

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, Inherited=false)]
public class AlignmentAttribute : Attribute
type AlignmentAttribute = class
    inherit Attribute
繼承
AlignmentAttribute
屬性

建構函式

AlignmentAttribute(UITextAlignment)

將此屬性套用至屬性和欄位,以指示 BindingCoNtext 如何對齊資料列上的文字。

欄位

Alignment

適用於