This is a follow-up to my question from last week re a data-driven property grid.
1. Is there any way to remove the white space to the left?
2. In the (abbreviated) code below, I am able to set the ForeColor of the text description but If I try the BackColor, nothing happens. Perhaps a bug?
private void propDataDriven_ItemFormatting(object sender, PropertyGridItemFormattingEventArgs e)
3. Looking at the date entry, I turned off the context menu but the vertical ellipsis still appears when I click in the cell. Nothing happens when I click on this though. is this intended behavior? I'd rather not see it at all.
Thanks
Carl
I'm trying to extend the default capabilities of Telerik's PropertyGrid with some custom editors. However, I'm a little perplexed as to how to get the RadPopupEditor to work.
Looking at the Telerik Theme Viewer tool, there is a rough example of what I'm trying to achieve with the TextAlignment setting (Although I intend to fill the PopupContainer with other components).
Has anyone managed to replicate this and can point me in the right direction?
Thanks!
Hi, could you tell me how to remove an item from the propertygrid that is highlighted in red? this appears after editing a field
theme: office2019dark
telerik winforms: r1 2023
Hi guys,
I have been searching for a correct answer for that, but without success. It looks like work in C# but not in VB.
I want to implement a TAB between the rows in this sample project. Any idea what is missed?
Is there a Winforms example of a RadCheckedDropDownList as an Editor for a PropertyGrid?
There is a sample for WPF, https://docs.telerik.com/devtools/wpf/controls/radpropertygrid/features/radenumeditor
There is sample for Winforms Gridview, https://docs.telerik.com/devtools/winforms/controls/dropdown-listcontrol-and-checkeddropdownlist/checkeddropdownlist/how-to/use-as-radgridview-editor
but nothing for Winforms PropertyGrid.
How would I get the following to appear as a checked drop down editor inside a property grid in winforms?
using CommunityToolkit.Mvvm.ComponentModel; namespace ProjectXYZ.Model.Enums; public enum BroadcastPlanEnum { Plan1, Plan2, Plan3, Plan4, Plan5, Plan6 } public sealed partial class BroadcastPlanActive : ObservableObject { [ObservableProperty] private BroadcastPlanEnum broadcastPlan; [ObservableProperty] private bool selected; }
Hello,
I am getting to know the RADPropertyGrid control, it seems flexible.
I have an XML file where "Key" would be the property name and "Value" would be the value in RADPropertyGrid. Where required, I also have a value list between the "ValueList" element. My question is, how can I pass the XML so that the value list for that element is displayed as a string in a combobox in the RADPropertyGrid associated with the property?
Can you show me a sample project on how to do this?
Sample XML:
<PictureBox>
<Property>
<Key>EnableClickZoom</Key>
<Value>False</Value>
</Property>
<Property>
<Key>EnableZoom</Key>
<Value>False</Value>
</Property>
<Property>
<Key>EnableAutoPan</Key>
<Value>False</Value>
</Property>
<Property>
<Key>SizeMode</Key>
<Value>Fit</Value>
<ValueList>
<Value>Normal</Value>
<Value>Stretch</Value>
<Value>Fit</Value>
</ValueList>
</Property>
<Property>
<Key>Zoom</Key>
<Value>30</Value>
</Property>
<Property>
<Key>InterpolationMode</Key>
<Value>Default</Value>
<ValueList>
<Value>Default</Value>
<Value>Low</Value>
<Value>High</Value>
<Value>Bilinear</Value>
<Value>Bicubic</Value>
<Value>NearestNeighbor</Value>
<Value>HighQualityBilinear</Value>
<Value>HighQualityBicubic</Value>
</ValueList>
</Property>
</PictureBox>
Hi.
Im tring to design a form like this to display some info. prop3 is a list of N string where N is variable. after i learnt some controls and found that property grid with custom item is accessible. i also read the custom item in property grid and tried, but i didnt get the result i want.
in my code, i changed enum to list<string>. and item.deliveryType to item.prop3 which type is string.
btw, i use managed c++. thanks.
WinForms v 2020.1.218.40
Editing an decimal element in a RadPropertyGrid causes the data to be rounded to 2 decimal places.
pre-edit:
editing:
post edit (no user made changes):
The desired behavior is to preserve at least original precision.
Setting the DecimalPlaces property on the BaseSpinEditorElement in the EditorInitialized event handler to 12 as suggested here: https://www.telerik.com/forums/propertygrid-rounding
caused this behavior when editing:
and post-edit (no user input):
Suggestions?
I have a PropertyGrid with 2 types of editors ; SpinEditor and DropDownListEditor. After the user changes a value in a SpinEditor, it triggers the event PropertyValueChange. However, after the user selects a new value in the DropDownListEditor, it does not trigger the PropertyValueChange. The ValueChanged event is fired but the new data is not saved in the item at this point.
How can I make it trigger the PropertyValueChange event after the user changes the value in the DropDownList?
Thanks!
Hi~!
I am using RadPropertyGrid in WinForm.
One item of propertygrid is File Path(string). When user click the File Path element to edit, I want to show Openfiledialog.
When I use Windows default control, it works well, but when I use telerik control, it doesn't work.
{
string _LogFile = "";
[Category("Design")]