Dela via


Border.StrokeShape Egenskap

Definition

Hämtar eller anger formen på kantlinjen. Det här är en bindbar egenskap.

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

Fastighetsvärde

En IShape som definierar kantlinjeformen eller null för standardformen Rectangle .

Attribut

Anmärkningar

Standardvärdet är en Rectangle. Du kan ange detta till andra former som RoundRectangle, Ellipseeller någon anpassad IShape implementering för att ändra kantlinjens utseende.

Gäller för