Hello Support Team.
I have an application with a PropertyGrid in C# with WinForms. Is it possible to have a CheckedListBox to allow multiple selections in the PropertyGrid?
Thank you in advance.
Hello, support team.
I have an application with a PropertyGrid in C# with WinForms. In this PropertyGrid I need to display a drop-down list with a predefined value list, but I need to allow also the user be able to edit a not listed value.
Thank you in advance
Thanks
For Each dColor As Double In {0, 0.25, 0.5, 0.75, 1}.Reverse()
Dim oLegendItem As New MapLegendItemElement("", Color.White)
oLegendItem.EnableBorderHighlight = False
oLegendItem.BorderWidth = 0 ' Remove black outline?
oLegendItem.Margin = New Padding(0)
oLegendItem.Padding = New Padding(0)
oLegendItem.MinSize = New Size(20, 10)
oLegendItem.HorizontalLineWidth = 0
oLegendItem.BorderBottomColor = Color.White
oLegendItem.BorderTopColor = Color.White
oLegendItem.BorderTopWidth = 0
oLegendItem.BorderBottomWidth = 0
oLegendItem.DrawBorder = False
oLegendItem.BackColor = Color.White
oLegendItem.BackColor2 = Color.White
oLegendItem.BackColor3 = Color.White
oLegendItem.BackColor4 = Color.White
oLegendItem.BorderBottomShadowColor = Color.White
oLegendItem.BorderColor = Color.White
oLegendItem.BorderColor2 = Color.White
oLegendItem.BorderColor3 = Color.White
oLegendItem.BorderColor4 = Color.White
oLegendItem.BorderInnerColor = Color.White
oLegendItem.BorderInnerColor2 = Color.White
oLegendItem.BorderInnerColor3 = Color.White
oLegendItem.BorderInnerColor4 = Color.White
oLegendItem.ShadowColor = Color.White
oLegendItem.BorderInnerColor4 = Color.White
oLegendItem.BorderThickness = New Padding(10)
oLegendItem.BorderHighlightThickness = 0
oLegendItem.DrawFill = False
.ItemStackElement.Children.Add(oLegendItem)
Next
With .ItemStackElement
.BackColor = Color.White
.BackColor2 = Color.White
.BackColor3 = Color.White
.BackColor4 = Color.White
.BorderBottomShadowColor = Color.White
.BorderColor = Color.White
.BorderColor2 = Color.White
.BorderColor3 = Color.White
.BorderColor4 = Color.White
.BorderInnerColor = Color.White
.BorderInnerColor2 = Color.White
.BorderInnerColor3 = Color.White
.BorderInnerColor4 = Color.White
.ShadowColor = Color.White
.BorderInnerColor4 = Color.White
.ElementSpacing = 0 ' Remove spacing
.EnableElementShadow = False
.DrawBorder = False
.EnableFocusBorder = False
.BorderColor = Color.White
.BorderBottomColor = Color.White
.BorderWidth = 0
.EnableBorderHighlight = False
.DrawBorder = False
.BorderBottomWidth = 0
.BorderBottomWidth = 0
.BorderThickness = New Padding(0)
.BorderHighlightThickness = 0
End With
End With
Hi,
in VirtualGrid, is there a way to set the default filter descriptor (different from "contains")?
Something like you suggest for the Grid control (https://www.telerik.com/forums/how-to-set-default-of-filterdescriptor-operator).
Thank you,
Emanuele
Was this removed in the most recent Winforms update?
I can't find it in the documentation nor the tool box in Visual Studio
I have a self-referencing Hierarchy working fine in .NET Framework 4.8,
now I upgraded to .NET 8 with
UI.for.WinForms.AllControls.Net60 2022.2.808-hotfix
public partial class Form1 : Form
{
private Person[] _people = {
new Person() { ID=1, Parent =0, Name = "Hans"},
new Person() { ID=2, Parent =1, Name = "Fred"},
new Person() { ID=3, Parent =1, Name = "Mary"},
new Person() { ID=4, Parent =0, Name = "John"}
};
public Form1()
{
InitializeComponent();
radGridView1.Relations.AddSelfReference(radGridView1.MasterTemplate, nameof(Person.ID), nameof(Person.Parent));
radGridView1.DataSource = _people;
}
}
public class Person
{
public int ID { get; set; }
public int Parent { get; set; }
public string Name { get; set; }
}
as following picture shows, I have a hierarchical "Grid View", when the amount of data is too large, I can not see the horizontal scrollbar of “Event”