MainWindow.xaml <window x:class="WpfApplication1.MainWindow" xmlns:x="#unknown"> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" Title="MainWindow" Height="350" Width="525" removed="{DynamicResource windowsBackgroundBrush}"> <window.resources> <sys:string x:key="ComboBoxTitle" xmlns:sys="#unknown">items</sys:string> <x:array x:key="ComboBoxItems" type="sys:String"> <sys:string xmlns:sys="#unknown">item#1</sys:string> <sys:string xmlns:sys="#unknown">item#2</sys:string> <sys:string xmlns:sys="#unknown">item#3</sys:string> </x:array> <lineargradientbrush x:key="windowsBackgroundBrush"> <gradientstop offset="0" color="Chocolate" /> <gradientstop offset="1" color="Aqua" /> </lineargradientbrush> </window.resources> <stackpanel margin="10" removed="PowderBlue"> <Label Content="{StaticResource ComboBoxTitle}"></Label> <combobox itemssource="{StaticResource ComboBoxItems}"></combobox> </stackpanel> </window>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)