Hi Pramod,
There's no property for this, but you can do it using a CreationFilter to switch the positions of the CheckIndicator and the ImageAndText elements.
this.ultraToolbarsManager1.CreationFilter = new MyCreationFilter();
public class MyCreationFilter : IUIElementCreationFilter { #region IUIElementCreationFilter Members void IUIElementCreationFilter.AfterCreateChildElements(UIElement parent) { if (string.Compare(parent.GetType().Name, "GlyphToolUIElement") == 0) { UIElement checkIndicatorElement = parent.GetDescendant(typeof(CheckIndicatorUIElement)); UIElement imageAndTextUIElement = parent.GetDescendant(typeof(ImageAndTextUIElementEx)); if (checkIndicatorElement == null || imageAndTextUIElement == null) { return; } // Position the image and text element to the X coordinate where the // check indicator is (on the left). imageAndTextUIElement.Rect = new Rectangle( checkIndicatorElement.Rect.X, imageAndTextUIElement.Rect.Y, imageAndTextUIElement.Rect.Width, imageAndTextUIElement.Rect.Height); // Position the check indicator to the right of the imageAndTextUIElement. checkIndicatorElement.Rect = new Rectangle( imageAndTextUIElement.Rect.Right, checkIndicatorElement.Rect.Y, checkIndicatorElement.Rect.Width, checkIndicatorElement.Rect.Height); } } bool IUIElementCreationFilter.BeforeCreateChildElements(UIElement parent) { // Do nothing return false; } #endregion }
Thanks for your sweet and short solution. This works for me. Also, requesting for new feature, as we required this feature throughout my project.
Thanks for your instant reply. This helped me to resolved my issues.
Be sure to Submit a feature request to Infragistics