Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

enum in combobox wpf

<Window.Resources>
    <ObjectDataProvider MethodName="GetValues"
        ObjectType="{x:Type sys:Enum}"
        x:Key="ExampleEnumValues">
        <ObjectDataProvider.MethodParameters>
            <x:Type TypeName="ExampleEnum" />
        </ObjectDataProvider.MethodParameters>
    </ObjectDataProvider>
</Window.Resources>

<ComboBox ItemsSource="{Binding Source={StaticResource ExampleEnumValues}}"/>
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# in equivalent 
Csharp :: generate random light colors programatically in android 
Csharp :: c# float min value 
Csharp :: mysql restore backup from multiple files 
Csharp :: run a command line from vb.net app 
Csharp :: select top 5 in linq c# 
Csharp :: array sum c# 
Csharp :: the underlying connection was closed nuget 
Csharp :: c# how to make object rotate forever 
Csharp :: dotnet core encryption and decryption 
Csharp :: remove all values from list c# 
Csharp :: c# for loops 
Csharp :: int if null put zero c# 
Csharp :: maximum sum subarray c# 
Csharp :: save binary data to file c# 
Csharp :: c# square symbol 
Csharp :: datatable select c# 
Csharp :: out c# 
Csharp :: FiveM pc key code 
Csharp :: addssdawsdawdsdawasdawasdawdswsddsdawssd 
Csharp :: jobject alternative in system.text.json 
Csharp :: Delayed respawn timer 
Csharp :: list of vectors c# 
Csharp :: c# winform get access token facebook 
Csharp :: c# iterate xml 
Csharp :: if exist request c# 
Csharp :: wpf stackpanel horizontal 
Csharp :: edit database from datagridview with right click on data c# 
Csharp :: c# check if float value is positif 
Csharp :: class merging 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =