To reproduce: 1. Add two RadButton controls and use the following code: public Form1() { InitializeComponent(); this.radButton1.Font = new Font("Verdana",8.25f, GraphicsUnit.Point); this.radButton1.Enabled = false; this.radButton1.ButtonElement.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; this.radButton2.Font = new Font("Segoe UI",8.25f, GraphicsUnit.Point); this.radButton2.ButtonElement.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; this.radButton2.Enabled = false; } 2. If you zoom enough to investigate the exact text rendering, you will notice that the first button does not take into consideration the TextRenderingHint.AntiAlias. Resolution: Add the DisabledTextRenderingHint property which allow users to specify a text rendering hint that will be used in disabled states
To reproduce: Add a RadTreeView (or any other control with tooltips) and enable the tooltips. Set the ToolTipText to be long and move the form to the end of the screen. Hover over an element to show a tooltip, you will see that the Tooltip is cut off. Workaround: Move the ToolTip manually: void TreeView_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e) { e.ToolTipText = "SOMEEEEE LOOOOONNGGGG TOOOOLLTIIIPPP TTTEEEXXXTTT"; Size screenSize = new Size(Screen.AllScreens[Screen.AllScreens.Length - 1].Bounds.Width * Screen.AllScreens.Length, Screen.PrimaryScreen.Bounds.Height); Size textSize = TextRenderer.MeasureText(e.ToolTipText, new Font("Courier New", 10.0f, FontStyle.Bold)); Point mousePoint = MousePosition; Point toBeDisplayedTooltipLocation = new Point(mousePoint.X + textSize.Width, mousePoint.Y); if (toBeDisplayedTooltipLocation.X >= screenSize.Width) { e.Offset = new Size(screenSize.Width - toBeDisplayedTooltipLocation.X, 0); } }
To reproduce: - Add RadListView with some columns to a blank form. - Set the theme to Office2013Light. Workaround: - Open the theme in VSB. - Change the RadListView display mode to DetailsView (right click it and select DetailsView mode) - Expand up to DetailListViewHeaderCellElement - Add all sort states and set the arrow primitive element Visible property to visible for them.
VisualStudio2012Light - the Icon of RadForm and RadRibbonForm has incorrect alignment.
VisualStudio2012Dark theme has incorrect styling for RadLabel. The background color of RadLabel is not consistent with other colors.
To reproduce: 1.Add a RadGridView with several levels of hierarchy. 2.Apply Office2007Silver theme. When clicking over the "+" sign, it seems to be a refresh problem for the GridIndentCellElement. Please, refer to the attached picture. Workaround: private void radGridView1_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e) { if (e.CellElement is GridIndentCellElement) { e.CellElement.BackColor = Color.FromArgb(231, 231, 231); e.CellElement.DrawFill = true; e.CellElement.GradientStyle = GradientStyles.Solid; } else { e.CellElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local); e.CellElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local); e.CellElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local); } }
To reproduce: - Add a RadDropDownList to a blank form and set its RadDropDownStyle to DropDownList. - Add a button which can Enable/Disable the drop down list. - You will notice that there is no visual clues that the control is disabled.
To reproduce: - Set the anchor property of RadTextBox or RadDropDownList as follows: this.radTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); Workaround; Set the Autosize property to false: this.radTextBox1.AutoSize = false;
To reproduce: Inspect a RadCheckBox with UI Spy or Inspector and execute the DoDefaultAction method. You will see that nothing will happen. Workaround: Use the following classes: public class RadCheckBoxEx : RadCheckBox { protected override AccessibleObject CreateAccessibilityInstance() { return new RadCheckBoxAccessibleObjectEx(this, this.Name); } } public class RadCheckBoxAccessibleObjectEx : RadCheckBoxAccessibleObject { public RadCheckBoxAccessibleObjectEx(RadCheckBox owner, string name) : base(owner, name) { } public override void DoDefaultAction() { (this.OwnerElement as RadCheckBox).ToggleState = this.GetNextToggleState((this.OwnerElement as RadCheckBox).ToggleState); } private ToggleState GetNextToggleState(ToggleState toggleState) { if (toggleState == ToggleState.On) { if ((this.OwnerElement as RadCheckBox).IsThreeState) { return ToggleState.Indeterminate; } return ToggleState.Off; } else if (toggleState == ToggleState.Indeterminate) { return ToggleState.Off; } return ToggleState.On; } }
To reproduce: Add a RadPanorama, add a TileGroupElement and RadTileElement. Add an ImageList and set it to the panorama. Set the ImageIndex to the tile element. You will notice that the image is visible in design time but after you run the application it will not be visible. Workaround: Set the ImageKey property with code.
To reproduce: - Add radPageView with two pages one of which must have longer text. - Set the ViewMode to Strip and the StripAlingment to left. - When you are switching fast between the pages you will notice that the content area is moved.
To reproduce: Add a RadSpinEditor with one of the following themes: Breeze Desert Office2010Black/Silver/Blue Office2013Light/Dark VisualStudio2012Light Windows8 Put your mouse over the RadSpinEditor and quickly move it out. You will notice that the border is not being reset. Workaround: From VisualStyleBuilder remove the border of RadSpinEditorElement on ContainsMouse
To reproduce: Add a form, set its theme to VisualStudio2012Light, start the project he black border is visible. Workaround: Open VisualStyleBuilder -> Navigate to RadForm -> RadFormElement -> TitleBar -> From the elements window select TitleBorder -> from the repositories apply TitleBarBorder
To reproduce: - Apply the Office2013Light theme to a RadDock with document windows. - Set ShowDocumentCloseButton to true. - You will notice that the close button does not appear.
To reproduce: Add a RabRibbonBar, add a ribbonGroup, set the theme to windows7, run the application, autohide the ribbon's content element. Click on one of the tabs and you will notice that there is a space between the tab and the content.
To reproduce: You must use Windows Server 2008. Add a RadTreeView set its theme to Windows8 and drag a node. Exception occurs in rare cases and is hardly reproducible.
To reproduce: -add RadRibbonBar with RadDropDownButtonElement and use the following code: this.radDropDownButtonElement1.AutoToolTip = true; this.radDropDownButtonElement1.ToolTipText = "tooltip"; As a result, no tool tip has been shown. Workaround: public Form1() { InitializeComponent(); this.radRibbonBar1.ToolTipTextNeeded += radRibbonBar1_ToolTipTextNeeded; this.radDropDownButtonElement1.ToolTipText = "tooltip"; } private void radRibbonBar1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e) { ActionButtonElement actionButton = sender as ActionButtonElement; RadArrowButtonElement arrowButton = sender as RadArrowButtonElement; if (actionButton != null) { e.ToolTipText = ((RadDropDownButtonElement)actionButton.Parent.Parent).ToolTipText; } else if (arrowButton!=null) { e.ToolTipText = ((RadDropDownButtonElement)arrowButton.Parent.Parent).ToolTipText; } }
To reproduce: - Apply the VisualStudio2012Light theme to a RadForm (use 2013.3.1016 version of the assemblies). Workaround: - Open the Theme in Visual Style Builder. - Select RadForm in Control Structure window. - Expand up to TitleBar and select it. - Apply the TitleBarBorder from the repository to the TitleBorder element.