HypernovaDesktop Components · docs
Binarymission
WPF › Rounded Corner Container

Rounded Corner Container

.NET Framework 4.8.NET 6 / 8 / 10v2.0.0WPF

A custom Rounded corner container for .NET Controls

2public types
4public members
1namespaces

Assembly

AssemblyBinarymission.WPF.Controls.RoundedCornerContainer.dll
Root namespaceBinarymission.WPF.Controls.Containers
Target frameworks.NET Framework 4.8, .NET 6 / 8 / 10

Getting started

<Window x:Class="MyApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:bm="clr-namespace:Binarymission.WPF.Controls.Containers;assembly=Binarymission.WPF.Controls.RoundedCornerContainer"&gt;

    <bm:RoundedCornerContainer />

</Window>

API reference

Binarymission.WPF.Controls.Containers

class RoundedCornerContainerAn extended .NET WPF content control that provides rounded corners to any framework elements in WPF.
class VisualElementHostSizeConverterCombines a bound width and height into the shape the rounded corner container clips the visual it hosts to: a rectangle, or - given a corner radius as a third value - a rounded one, with each corner its own radius.