Partager via


AlignmentAttribute Classe

Définition

Appliquez cet attribut aux propriétés et aux champs pour indiquer au BindingContext comment aligner le texte sur la ligne.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, Inherited=false)]
public class AlignmentAttribute : Attribute
type AlignmentAttribute = class
    inherit Attribute
Héritage
AlignmentAttribute
Attributs

Constructeurs

AlignmentAttribute(UITextAlignment)

Appliquez cet attribut aux propriétés et aux champs pour indiquer au BindingContext comment aligner le texte sur la ligne.

Champs

Alignment

S’applique à