Completed
Last Updated: 15 Aug 2017 11:03 by ADMIN
ADMIN
Dimitar
Created on: 26 Jul 2017 09:14
Category: RibbonBar
Type: Bug Report
1
FIX. RadRibbonBar - one cannot add elements to the ribbon caption.
To reproduce:

LightVisualElement caption = new LightVisualElement();
caption.MinSize = new Size(150, 20);
caption.DrawText = true;
caption.DrawImage = true;
caption.TextImageRelation = TextImageRelation.ImageBeforeText;
caption.Text = "My Application";
caption.Image = Image.FromFile(@"..\..\delete.png");
caption.ShouldHandleMouseInput = false;
caption.NotifyParentOnMouseInput = true;
caption.ImageLayout = ImageLayout.None;
caption.ImageAlignment = ContentAlignment.TopLeft;
caption.TextAlignment = ContentAlignment.TopLeft;
this.radRibbonBar1.RibbonBarElement.RibbonCaption.CaptionLayout.Children.Add(caption);
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments