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 a rectangle, which is what the rounded corner container needs to clip the visual it hosts.