Click here to Skip to main content
15,884,986 members
Articles / Desktop Programming / WPF

WPF radio buttons and enumeration values

Rate me:
Please Sign up or sign in to vote.
4.96/5 (20 votes)
26 Feb 2010CPOL5 min read 93.2K   1.5K   33  
A solution for binding a set of WPF radio buttons to an enumeration value.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestEnumRadioButton", "TestEnumRadioButton\TestEnumRadioButton.csproj", "{1233F6E7-83CF-40F4-B031-661A4ECE7FC9}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{1233F6E7-83CF-40F4-B031-661A4ECE7FC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{1233F6E7-83CF-40F4-B031-661A4ECE7FC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{1233F6E7-83CF-40F4-B031-661A4ECE7FC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{1233F6E7-83CF-40F4-B031-661A4ECE7FC9}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Eastman Kodak Company
United States United States
I'm a C#/WPF developer, but I'm still maintaining a mountain of C++/MFC code. In my day job, I'm a mild-mannered engineer (unless I haven't had my coffee), helping make control software for large, high speed ink jet printing systems. After hours, I'm a bloodthirsty mercenary, selling my skills to the highest bidder. Yes, that sentence pretty much defines the extent of my marketing ability.

In my spare time (whazzat?) I run (slowly), bike (the kind you pedal), lift weights (not very big ones), and try to remember where I left my reading glasses.

Comments and Discussions