Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to load style using XamlReader.Load()

$
0
0

how to Load below xaml code in user control using xamlreader.load() in c#

<Window
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
        xmlns:dxgt="http://schemas.devexpress.com/winfx/2008/xaml/grid/themekeys"><ResourceDictionary><Style x:Key="LastRowHighlighted"
            BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=RowStyle}}"
            TargetType="{x:Type dxg:GridRowContent}"></Style></ResourceDictionary>


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>