Border.StrokeShape Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the shape of the border. This is a bindable property.
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
Property Value
An IShape that defines the border shape, or null for the default Rectangle shape.
- Attributes
Remarks
The default value is a Rectangle. You can set this to other shapes like RoundRectangle, Ellipse, or any custom IShape implementation to change the border's appearance.