Grid.CornerRadius 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 radius for the corners of the panel's border.
public:
property CornerRadius CornerRadius { CornerRadius get(); void set(CornerRadius value); };
CornerRadius CornerRadius();
void CornerRadius(CornerRadius value);
public CornerRadius CornerRadius { get; set; }
var cornerRadius = grid.cornerRadius;
grid.cornerRadius = cornerRadius;
Public Property CornerRadius As CornerRadius
<Grid CornerRadius="uniformRadius"/>
- or -
<Grid CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>
Property Value
The degree to which the corners are rounded, expressed as values of the CornerRadius structure.
Remarks
Member components of a CornerRadius value cannot be negative.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla