Partager via


Border.StrokeShape Propriété

Définition

Obtient ou définit la forme de la bordure. Il s'agit d'une propriété pouvant être liée.

public:
 property Microsoft::Maui::Graphics::IShape ^ StrokeShape { Microsoft::Maui::Graphics::IShape ^ get(); void set(Microsoft::Maui::Graphics::IShape ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.Shapes.StrokeShapeTypeConverter))]
public Microsoft.Maui.Graphics.IShape? StrokeShape { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.Shapes.StrokeShapeTypeConverter))>]
member this.StrokeShape : Microsoft.Maui.Graphics.IShape with get, set
Public Property StrokeShape As IShape

Valeur de propriété

Qui IShape définit la forme de bordure ou null pour la forme par défaut Rectangle .

Attributs

Remarques

La valeur par défaut est un Rectangle. Vous pouvez définir cette valeur sur d’autres formes telles que RoundRectangle, Ellipseou toute implémentation personnalisée IShape pour modifier l’apparence de la bordure.

S’applique à