Condividi tramite


Border.StrokeShape Proprietà

Definizione

Ottiene o imposta la forma del bordo. Si tratta di una proprietà associabile.

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

Valore della proprietà

Oggetto IShape che definisce la forma del bordo o null per la forma predefinita Rectangle .

Attributi

Commenti

Il valore predefinito è .Rectangle È possibile impostarlo su altre forme come RoundRectangle, Ellipseo qualsiasi implementazione personalizzata IShape per modificare l'aspetto del bordo.

Si applica a