I know this is a wide topic, but please hear me out.
I have a few instances where I need to edit a set of related properties. Some are free text, another might be an integer or password, and many more have predefined options (a selectbox). I basically need a container that repeats rows of text on the left with a control on the right.
...
I read some stuff about PropertyGrid (cause i am pretty new to that control) like:
Dynamic_Propertygrid
DynPropGrid
PropertyGridInCSharp
but i am still trying to get info about how to create my own Property Type..
like when the user wants to enter a value than he needs to click on checkbox and enter text in a textbox.. like two cont...
Hi,
I am Using Actipro version 4.5.0485 property grid. i have a requirement to show/hide properties if a checkbox is check. i was able to do this by applying filters. but then i need to refresh the property grid every time chexbox selection is changed. i am using selectedObject to populate the property grid.
Can any one please help me ...
I have created a custom WinForms hosting environment. Which has a toolbox and a PropertyGrid.
The controls displayed in the Toolbox are inherited from existing WinForm controls.
DropDownList Source:
public interface IPropertyFilter : ICustomTypeDescriptor
{
PropertyDescriptorCollection FilterProperties(PropertyDescriptorCollection...
I am trying to build a WPF control that allows users to edit the values of non-specific types outside of the context of a runtime PropertyGrid. The WinForms PropertyGrid makes use of UITypeEditors and these can be obtained and utilised at runtime via the relevant TypeDescriptor method.
The Visual Studio PropertyGrid, on the other hand,...
Hi,
I want to assign a custom editor to a boolean property in a PropertyGrid. I'm using the standard propertygrid (from namespace System.Windows.Forms). It is possible to assign custom editors to properties using the UITypeEditor class. However, as far as I can see, it is not possible to use it for a boolean property.
I've tried to so...
When using the PropertyGrid and passing in an Object for the user to make changes, what is the best approach for handling a cancel/undo.
Do you provide a copy of the original object into the property grid make your changes then if the user accepts the mods then update the values into the original object?
Make a copy of the original set...
I have made a custom ControlDesigner that I need to include and exclude properties shown in the property grid. But for some reason it seems just to ignore the code? I don't know what I might have done wrong? Could I be missing something? Do I need to setup VS or something?
Also in the examples I have found they seem to disagree about wh...
Hi All,
I am using WPF PropertyGrid (http://www.codeplex.com/wpg) in my project.
But i have some problems with this component.
1) I can show my IList collections in a ComboBox. But i can't retrieve selected value. How can i get selected value?
2) Enums are automatically shown in combobox, but i can't retrieve selected value like #1.
...
I am trying to use property grid for displaying data. I have to write StringConverters for my predefined string constants so that they can be shown on a combo box.
Consider a list of colors and another list of angles 0,90,180,270. There are many such lists I want to display on the grid.
I am writing new classes deriving from StringCo...
I've setup my class to inherit from ICustomTypeDescriptor
I've also then setup this method for the GetProperties implementation for the inheritance.
Public Class POSTerminal
Inherits BasePacket
Implements ICustomTypeDescriptor
Public Function GetProperties(ByVal attributes() As System.Attribute) As System.ComponentModel.Prope...