Hi,
I'm using UltraOptionSet.
I want that its text will be on its left side instead of its right side.
How can I do this?
Thanks,Yael
Hi Yael,
There's no property for this on the control, but you can do it using a CreationFilter, and it's a pretty simple one.
public class MyUltraOptionSetCreationFilter : IUIElementCreationFilter { #region IUIElementCreationFilter Members void IUIElementCreationFilter.AfterCreateChildElements(UIElement parent) { // Do nothing } bool IUIElementCreationFilter.BeforeCreateChildElements(UIElement parent) { OptionSetOptionButtonUIElement optionSetOptionButtonUIElement = parent as OptionSetOptionButtonUIElement; if (optionSetOptionButtonUIElement != null) { optionSetOptionButtonUIElement.CheckAlign = ContentAlignment.MiddleRight; } return false; } #endregion }
Thanks for sharing some information about the alignment of ultraoption set here. I want to share this info with top cv people, and ask them what they think about this. It will be great.