Skip to content

Quick Start

Nikola Stojšin edited this page Nov 26, 2020 · 4 revisions

Follow these steps to use dvsku.Wpf in your application.

Add package to project

Add from NuGet or build and reference .dll

Add resources to App.xaml

<Application x:Class="dvsku.Wpf.Examples.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/dvsku.Wpf.Controls;component/Theme/Templates.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/dvsku.Wpf.Themes;component/Themes/Theme.System.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

Add namespace

xmlns:dvsku="http://dvsku.com/winfx/xaml/controls"

Note: For more information about themes visit themes.

Clone this wiki locally