• Products
  • Download
  • Purchase
  • Support
  • Company
Actipro Software company logo
Twitter Follow Actipro RSS Subscribe (RSS Feed)

The Actipro Blog

Tag Cloud

  • blog
  • docking
  • editors
  • intelliprompt
  • micro charts
  • navigation
  • propertygrid
  • ribbon
  • shared library
  • silverlight
  • syntaxeditor
  • themes
  • views
  • web site
  • winforms
  • winrt
  • wpf

Twitter Feed

Tweets by @Actipro

Month List

  • 2013
    • May (5)
    • April (7)
    • March (9)
    • February (2)
    • January (7)
  • 2012
    • December (4)
    • November (7)
    • October (5)
    • September (7)
    • August (5)
    • July (9)
    • June (11)
    • May (12)
    • April (6)
    • March (11)
    • February (11)
    • January (2)
  • 2011
    • December (2)
    • November (7)
    • October (2)
    • September (1)
    • August (5)
    • July (3)
    • June (6)
    • May (5)
    • April (8)
    • March (4)
    • February (5)
    • January (9)
  • 2010
    • December (9)
    • November (10)
    • October (4)
    • September (8)
    • August (12)
    • July (9)
    • June (7)
    • May (6)
    • April (7)
    • March (6)
    • February (6)
    • January (4)
  • 2009
    • December (2)
    • November (2)
    • October (12)
    • September (3)
    • August (11)
    • July (10)
    • June (6)
    • May (3)
    • April (7)
    • March (6)
    • February (8)
    • January (10)
  • 2008
    • December (10)
    • November (2)
    • October (3)
    • September (5)
    • August (5)
    • July (8)
    • June (4)
    • May (4)
    • April (10)
    • March (8)
    • February (1)
    • January (2)

Category List

  • RSS feed for ActiproActipro (401)
  • RSS feed for AppsApps (7)
  • RSS feed for Blog SummaryBlog Summary (19)
  • RSS feed for Customer ShowcaseCustomer Showcase (1)
  • RSS feed for GeneralGeneral (43)
  • RSS feed for In developmentIn development (194)
  • RSS feed for New featuresNew features (207)
  • RSS feed for New productNew product (56)
  • RSS feed for PromotionPromotion (2)
  • RSS feed for SilverlightSilverlight (142)
  • RSS feed for Tips and tricksTips and tricks (4)
  • RSS feed for Visual Studio 2008Visual Studio 2008 (2)
  • RSS feed for Windows FormsWindows Forms (28)
  • RSS feed for Windows VistaWindows Vista (10)
  • RSS feed for WinRTWinRT (39)
  • RSS feed for WPFWPF (314)
  • RSS feed for XAMLXAML (34)

About Us

Actipro Software is a leading provider of .NET user interface controls for the WPF, WinRT XAML, Silverlight, and WinForms frameworks, and is most well-known for their SyntaxEditor syntax-highlighting code editor control.

Please take some time to learn more about us and our product offerings.

WPF RadioButtonList enhancements

January 14, 2009 at 5:46 PM
by Bill Henning (Actipro)

Build 4.5.0484 of WPF Studio added some very nice enhancements to the RadioButtonList control, which I’ll describe below.

The RadioButtonList is essentially a ListBox that has been templated so that its items appear like radio buttons.  The selected item in the RadioButtonList has its related radio button circle checked.

Bullet vertical alignment and margin

Two new properties have been added to RadioButtonList to allow for more complex layout of the bullets relative to each item’s content.

By default bullets are aligned center and just have a small right side margin to provide space between the bullet and the content.  Now you have the ability to set the vertical alignment of the bullets to top or bottom as well.  By using the related bullet margin property, you can tweak the margin around the bullet so that it aligns vertically with the content.

Bullets

A RadioButtonList that aligns bullets to the top and sets a bullet margin

In the screenshot above, the bullets are aligned to the top and a small margin is set to ensure that the bullets line up with the bold header portion of each item’s content. 

Auto-disabling of non-selected item content

Another new feature added to RadioButtonList is an option to automatically disable the content of items that are not currently selected.

SelectFolder1

A RadioButtonList that has automatically disabled the Select button because its item is not currently selected

This feature is better explained in screenshots.  In the screenshot above, there is a RadioButtonList with two items.  The second item has a Button in its content.  Note that since the first item is currently selected, the Button has been disabled per this new feature.

SelectFolder2

A RadioButtonList that has automatically enabled the Select button because its item is now selected

In the next screenshot, the end user has selected the second item in the RadioButtonList, and therefore the Select button enables.

These new properties make it really easy to create some nice looking radio button lists with complex content.  Enjoy!

Tags: wpf, shared library
Filed under: Actipro, WPF, New features
Submit to DotNetKicks...
Permalink | Comments (1)

Related posts

Themes for WPF Part 1 - Native WPF Control Themes In prior blog posts, we’ve detailed some of the great new features coming to the WPF SyntaxEditor ...The future of WPF, Silverlight, and HTML5 - Are they dead?As I’m sure you are all aware, last week’s PDC 2010 conference set off a firestorm of tweets and new...WPF Studio integrates with and adds features to the official Microsoft WPF DataGridIn the most recent WPF Studio 2009.1 builds, we've integrated with and enhanced Microsoft's open sou...

Comments

January 14, 2009 at 16:37  

Mike Strobel

Very nice!  I really appreciate Actipro's commitment to aesthetics and flexibility in their controls.  Little tweaks like this can improve the look and usability of an application more than most people realize.  Keep up the great work!

Mike Strobel

Comments are closed
Copyright © 1999-2013 Actipro Software LLC. All rights reserved.
Home Actipro Software | Products | Download | Contact Us