Hi,
I have a control that is opened as a floating HostWindow. This control is composed of a RadPageView and a RadPanel and all these elements have the margins and paddings set to 0. Also, BorderStyle properties are set to None but I still see the borders there (see image attached).
There is any way to remove these borders?
Is the attached image possible within Telerik WinForms?
We want a shadow effect on our top panel and a softer shadow effect on the right panel but we can't seem to get it working.
We tried using Shadows - Telerik Presentation Framework - Telerik UI for WinForms, and it does work when the panels aren't all docked but when we dock everything, the shadows are no longer visible.
We essentially want a panel with a Top dock style which we want a shadow under it, another panel docked to the right with a softer shadow to the left of it, and then a center panel which is docked with Fill (with all the relevant shadows appearing above this panel).
We're using Telerik 2020.1.113.40.
Any help is appreciated,
Thanks
Winforms, c#, version 2022.3.1109.40,
I know it must be me, but I'm testing gradient fill on a radpanel, but theres no change in appearance at either design or run time
Here's my extract from the designer file. GradientFill is set to linear which is the default.
private void InitializeComponent()
{
this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
this.SuspendLayout();
//
// radPanel2
//
this.radPanel2.Location = new System.Drawing.Point(112, 57);
this.radPanel2.Name = "radPanel2";
this.radPanel2.Size = new System.Drawing.Size(218, 107);
this.radPanel2.TabIndex = 1;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(241)))), ((int)(((byte)(79)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(238)))), ((int)(((byte)(155)))), ((int)(((byte)(64)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(74)))), ((int)(((byte)(228)))), ((int)(((byte)(243)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).NumberOfColors = 4;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).GradientStyle = Telerik.WinControls.GradientStyles.Linear;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).PaintUsingParentShape = false;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel2.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(244)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.radPanel2);
this.Name = "Form1";
this.Text = "Form1";
((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
this.ResumeLayout(false);
}
Dear all,
does anyone know how to change the BackColor ofthe RadDataEntry ValidationPanel.
I have tried various ways like setting it up at design time in Visual Studio,
or just before showing it at run time
dataEntry.ValidationPanel.BackColor = Color.PapayaWhip;
dataEntry.ShowValidationPanel = true;
and also via some event such as
private void rdeDynamicInput_Initialized(object sender, EventArgs e)
{
ValidationPanel vpanel = (sender as RadDataEntry).ValidationPanel;
if(vpanel != null) vpanel.BackColor = Color.PapayaWhip;
}
Thanks for your answer
Hello everyone,
Can you please give me some advice? I want to migrate code to Telerik components; there is a class(form) thas has all ui components (textboxes, buttons, etc.) and functionality.
I need to give the user the ability to choose between a radwizard and a tabbedcontrol. But these two need to share the same functionality and ui components. because we don't want to repeat code. We've tried usercontrols, but the code that provides the functionality is so scrambled and depends on data and ui components from differect user controls?
Is there another way to do this? Maybe place the radwizard and tabbed form in a panel?
Thanks in advance,
Adriana
Hello everyone,
I'm learning to use Telerik for winforms, but I have an issue with RadHostItem that hosts a Windows TableLayoutPanel that is generated at runtime and the RadHostItem is placed inside a RadDropDownButtonElement on a RibbonBar.
I'm using RadHostItem.MinSize for the host that contains the TableLayoutPanel but I've tried a lot of ways to size the host height but neither of them is working as desired.
In what units RadHostItem.MinSize is defined?
For example, I have this code:
Telerik.WinControls.RadHostItem radHost = new Telerik.WinControls.RadHostItem(panel);
int heightPerRow = panel.GetRowHeights()[0]; // Height of a row in pixels,
radHost.MinSize = new Size(panel.Width, heightPerRow * headerRow);
radDropDownButton.Items.Add(radHost);
But this host is very big for the panel and it distorts it.
I'll appreciate any help.
Thanks in advance,
Adriana
Would it be possible in the next release to expose the panel border visibility at design time in the properties window, rather than having to navigate through "Edit UI Elements" (or via code). I have a lot of panerls where I don't want to see the border at run time but do need to see it sometimes at design time.
Thanks
Is there some simple method to stacking custom controls inside of a radpanel (or other element)? I have a Radpanel that I want to add strips of custom FileUploadRecord Controls to that vertically stack.
I still need to wrap my head around docking, floating, anchoring, position, auto size, etc, but my current method of adding is:
pnlFiles.Controls.Add(new FileUploadRecord());
Buonasera
devo realizzare un pannello, contenete testo e immagini, scollabile in modo touch , cioè senza barra laterale, attivando lo scoll con il mouse
"su e giu", sto provando con scollablepanel ma non so come attivare gli eventi scoll .
e possibile avere una diritta ? magari c'e' un esempio in vb.net ?
grazie
I am required to call an API endpoint, which is return a list of strings. This I have working.
Each item within that list is a daily announcement which is a block of text, that needs to be displaying within a scrolling parent frame. Please refer to the attached .PNG file with a screenshot of the mockup I got from our project managers.
I am not sure which is the best way to do this, as I'm relatively new to Telerik Winform UI. I am looking at either a:
DataGridView
ListControl
List of labels within a panel.
Just trying to find the most effective and simple way to do this. Any suggestions?