propertygrid Questions
8
Solved
I am using property grid in my application to display the name and value of the properties of an object.
By default the width of the columns (name and property) are at a ratio of 50:50.
and we hav...
Medlock asked 16/9, 2012 at 13:14
3
Solved
I have a PropertyGrid control in WinForms (http://msdn.microsoft.com/en-us/library/aa302326.aspx). Now I want to move the middle vertical line more to the left (It is always centered, but my keys a...
Subsistence asked 27/1, 2013 at 18:11
4
Solved
I have a property grid that will have a few properties referenced. I would like to have one of the items in the property grid to be a button or even have a ellipses button which will act like a but...
Cyndy asked 29/6, 2011 at 18:46
6
Solved
I have a class with a set of properties As given below.
class ContactInfo
{
[ReadOnly(true)]
[Category("Contact Info")]
public string Mobile { get; set; }
[Category("Contact Info")]
public s...
Huffman asked 20/3, 2010 at 13:11
4
Solved
Is it possible to format numerical properties displayed in PropertyGrid of winforms?
class MyData
{
public int MyProp {get; set;}
}
And I want it to be displayed in the grid as 1.000.000 for ex...
Tonguelashing asked 14/5, 2013 at 10:51
7
Solved
I have a PropertyGrid that I used to display the properties in a helper class. I assign the helper class to the PropertyGrid like this:
myPropertyGrid.SelectedObject = mySettingsHelper;
In the h...
Dispensatory asked 28/10, 2013 at 17:3
4
Solved
We have a windows form PropertyGrid that we use to display all the properties. We have drawn a checkbox on Boolean property that checks it self and unchecks itself based on the value. this all work...
Kepner asked 6/6, 2016 at 14:19
3
Solved
I have a property grid and one of the properties uses a UITypeEditor to edit the value (on a form).
However the property is still editable, which I do not want. Is there a way to do this? I looked...
Miguelinamiguelita asked 12/5, 2015 at 14:40
5
Solved
I have a Winform application which uses colour to highlight certain things. I would like to allow the users to change 'their' colours. As an exercise, I thought I would create an instance of a clas...
Laugh asked 10/4, 2012 at 15:56
5
Solved
I'm using a PropertyGrid in an application I am writing to allow users to view and sometimes edit instances of my objects. Sometimes the user may have a file open in read/write mode where they can ...
Rodina asked 23/2, 2010 at 0:16
5
Solved
How can I customize the sorting of categories in a PropertyGrid?
If I set either of the following...
propertyGrid.PropertySort = PropertySort.Categorized;
propertyGrid.PropertySort = PropertySort...
Habana asked 5/5, 2009 at 4:21
4
Solved
I am using a PropertyGrid to show properties from my objects. However, I'm also allowing the user to create their own properties, and set values for these custom properties. Each object that can ha...
Haplology asked 13/4, 2009 at 17:53
5
Solved
I can't find any list of the available attributes for the PropertyGrid in C#, do you know where I can find one?
Thanks.
Whaleback asked 24/2, 2013 at 11:30
5
Solved
I'm working on a business application that use the PropertyGrid. My project leader want me to localize the texts in the PropertyGrid at runtime. Hurray!!! irony
I have tried many days to localize ...
Salangi asked 28/6, 2014 at 16:30
3
I want to automatically show every IList as expandable in my PropertyGrid (By "expandable", I obviously mean that the items will be shown).
I don't want to use attributes on each list (Once again, ...
Perfume asked 15/9, 2015 at 9:30
3
I'm trying to change the Browsable attribute of a variable in one of my classes at runtime. The class containing the attribute looks like this:
public class DisplayWallType : WallType
{
[TypeCon...
Ararat asked 9/7, 2015 at 15:16
4
Solved
The problem is simple(and I hope that this have a simple solution!): I want to hide ( Browsable(false) ) the property "Element" (in my PropertyGrid object) when it's zero.
public class Question
...
Embolus asked 20/9, 2013 at 21:25
2
Solved
We can change font for VS IDE items in the Options\Environments\Fonts and Colors dialog. However, I still cannot find how to do that for the Properties pane. Can anybody help me with that?
Working...
Thury asked 19/11, 2014 at 7:47
3
Please note it is not a duplicate question.
How to show a detailed FolderBrowser as in the image below from a PropertyGrid (from the field/property which has ellipses ...)
Using
[EditorAttribut...
Archaeozoic asked 12/3, 2013 at 18:5
1
Solved
I have enum lets say for example:
public enum Color
{
red,
green,
blue
}
And have two classes. which have property of enum.
public class ClassA
{
public Color Color{get;set;}
}
public clas...
Tippler asked 25/11, 2019 at 1:10
3
Solved
I created a Button descendant where I hide all the properties I don't use.
I do it like this:
[Browsable(false)]
[Bindable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[DesignerSerializa...
Sella asked 26/7, 2016 at 6:27
3
Solved
I have a custom object type which has to be editable in PropertyGrid:
public class CustomObjectType
{
public string Name { get; set; }
public List<CustomProperty> Properties {get; set;}
}...
Grozny asked 16/8, 2010 at 8:19
3
Solved
I'm creating a .net custom control and it should be able to load multiple text files. I have a public property named ListFiles with those properties set :
[Browsable(true), Category("Configurati...
Ogilvy asked 4/10, 2008 at 18:16
5
Solved
Having a standard WinForms 2.0 PropertyGrid control I'm looking for a way to either change the border color of the control or remove the border altogether.
I'm aware of the LineColor property wh...
Zeculon asked 3/5, 2012 at 9:24
4
Solved
As the title says, I noticed that the categories are not shown in a **PropertyGrid* (in its default collection editor) for a collection(Of T), when all the properties of class "T" are read-only.
T...
Pantograph asked 18/12, 2018 at 10:12
1 Next >
© 2022 - 2024 — McMap. All rights reserved.