UI for WinForms - Latest version.
RadRibbonBarBackstageView - Edit UI Elements
RootRadElement.BackstageViewElement.BackstageItemsPanelElement.BackgroundImage
Click the … button and select your image.
To REMOVE this image you SHOULD be able to do the following:
click on the property BackgroundImage which should highlight the image-string completely.
click delete.
done.
What you HAVE to do is this:
click on the property BackgroundImage.
click delete.
BEFORE YOU LEAVE THIS PROPERTY you have to click the … box
Once the box opens you have to click "Cancel"
Right below this property is BackgroundImageLayout - set to "Center"
There's a dropdown arrow presumably to allow you to change the layout but nothing happens when you click it.
*Missing Property?*
Whatever image you place in this control it gets stretched and there doesn't appear to be any way to avoid this:
place an image.
run the winforms ap.
set the main form in normal mode (not maximized) and resize the height.
Your image will stretch, shrink...this is not a UI property that should be presumed. We should be able to set None, Tile, Center, Stretch or Zoom.
Still *LOVE* your products :)
Kindest regards,
Curtis Smith
Workaround: manually increase the font of the controls protected override void OnShown(EventArgs e) { base.OnShown(e); var dpi = NativeMethods.GetSystemDpi(); this.Font = new Font(this.Font.Name, this.Font.Size * dpi.X / 96, this.Font.Style); this.radMenu1.Font = new Font(this.radMenu1.Font.Name, this.radMenu1.Font.Size * dpi.X / 96, this.radMenu1.Font.Style); this.radCommandBar1.Font = new Font(this.radCommandBar1.Font.Name, this.radCommandBar1.Font.Size * dpi.X / 96, this.radCommandBar1.Font.Style); }
Apply the Office2010Silver theme to your application since it has a good border indication for the focus in RadSpinEditor.
Please run the attached project and click in the RadSpinEditor that is not in the RadPopupContainer. You will notice that when you move the mouse away that the border is highlighted in yellow showing that the control has complete focus. Now, click in the RadSpinEditor that is in the RadPopupContainer and move your mouse away. You will notice that the border is not highlighted in yellow indicating that it does not have focus. You can also see that it does not fire the GotFocus event. If you click closer to the border out of the "TextBox" area, the control border will stay yellow showing complete focus and fire off the GotFocus event. However, in this case, the caret is not displayed.
Workaround: handle the GotFocus/LostFocus events for the SpinElement.TextBoxItem and apply the desired border for indicating the focus.RadVirtualGrid is created to support a million records or more. Still it contains some "heavy" operations like CopySelection/CutSelection/Paste which can take a long time.
I would like to intercept these methods so I can show a "Please wait"-window during the operation. Furthermore I have the need to set a flag to true when such a operation is executing.
PerformClick method of RadButtonElement is sending next error:
System.InvalidCastException: 'Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.MouseEventArgs'.
Find my code below:
private void btnAddField_Click(object sender, EventArgs e)
{
RadDiagramShape sourceShape = new RadDiagramShape()
{
Text = "source",
Shape = new RoundRectShape(5),
BackColor = Color.Red
};
sourceShape.Position = new Telerik.Windows.Diagrams.Core.Point(150, 100);
radDiagram.AddShape(sourceShape);
sourceShape.IsSelected = true;
RadButtonElement additionalContent = Telerik.WinControls.UI.Diagrams.Primitives.ItemInformationAdorner.GetAdditionalContent(
this.radDiagram.DiagramElement.ItemInformationAdorner) as RadButtonElement;
additionalContent.PerformClick();
}
What I want is to display the SettingsPane automatically when adding a RadDiagramShape item in a RadDiagram
Regards
Hi- When I add a Rad context menu to a RadToolbarForm, the toolbar vanishes from the designer after a build. This is new behavior because I have other context menus that I had previously added to the form. If I drag a RadContextMenu from the toolkit, or I copy/paste an existing context menu, the toolbar disappears after a build. I am running the latest release (2024.1.130) and toolkit config (although this also happens when running the previous Telerik release)
I tried closing the designer before the build and the toolbar still disappears. Doing a Clean before build has no effect. This form is inherited from a simple RadToolbar form (no controls except the toolbar). The toolbar is still listed in the list of controls for the form
Ha! Just found out what's happening. It's deleting the toolbar configuration code from the designer code. Everything below is gone. If I add it back in, then do anything with the new context menu, like rename it, it gets removed again
Here's my dev environment:
Microsoft Visual Studio Community 2022
I can't provide a project or even code snippets that would make sense out of context because the code base is too complex for an easy replication to be setup.
We are trying various things like calling Refresh, Update.
Hoping this is something you've encountered before and have some suggestions.
I just upgraded to the latest version of Telerik products and facing the issues described below.
When dragging and drop Telerik UI objects from the toolbar on a form, the dialog box below is displayed with question but there is no button to click to answer the question and I don't where to stop it.
See screenshot attached.
Hi All,
Note:- I am using Bound RadTreeview. Bound with DataSource.
1 Take RadTreeview
2 Add Few nodes Like:
......Node A
......Node B
......Node C
............Node D
............Node E
3 Now Drag Node B and Drop it in Node C (As Node C's Child)
4 It throw Exception Error Msg "Collection was modified; enumeration operation may not execute."
5 Now Try to Drag Node E and Drop it in Node B, again same error occurs
6 Full error screen i attached here.
Please reply as soon as possible.
Hello Guys,
Good Evening , As per your suggestions i make my custom treeview node with LiteVisualElements .
In That Node i have taken one StackLayoutElement and RoundRectShape assigned to it but still panel shows corners instead of round edges,
i tried with different properties and styles but not get succeed , so please help me out.
here i have attached image of my node and "stackLayoutElement" code too.
spnlControls = new StackLayoutElement();Zooming in will throw an Exception that crashes the program.
The ZoomLevel needed to cause the exception is dependent on the area of the RadMap selected.
Provider: BingRestMapProvider
ImagerySet AerialWithLabelsOnDemand
Zooming in over Antarctica, Exception thrown zooming in at MapElement.ZoomLevel 14.
Zooming in over Australia, Exception thrown zooming in at MapElement.ZoomLevel 21.
Hi,
I want to hide some columns of the table I received from Excel on RadGridView.