|
by: m. pollack |
last post by:
Hi all
I've been using the PropertyGrid to allow the user to edit a class object at runtime. The class object contains a custom strongly-typed collection, and I have written a subclass of CollectionEditor to manipulate it, using an EditorAttribute on the collection class to associate the collection with my custom Editor subclass. The Collection Editor has its own little PropertyGrid, which displays the properties of the selected member of the...
|
by: m. pollack |
last post by:
<I've reposted this here as it was slipping away over the horizon on the C# group
Hi all,
I've been writing an application that uses a class object (call it Element) that I need to expose to the user at runtime for editing. To do this, I've been using the PropertyGrid control. The Element object has a collection property that contains references to other Elements (its purpose is to allow the users to generate XML schemas at runtime, in...
|
by: m. pollack |
last post by:
Hi all
I've been writing an application that uses a class object (call it Element) that I need to expose to the user at runtime for editing. To do this, I've been using the PropertyGrid control. The Element object has a collection property that contains references to other Elements (its purpose is to allow the users to generate XML schemas at runtime, in which elements can be nested to arbitrary depth). The PropertyGrid control opens an...
|
by: Buzz Bonner |
last post by:
Hi,
I need to perform some validation on the items inserted into the
CollectionEditor. How can I override the CollectionEditor OK button so that
the editor doesn't close if a validation error is raised?
|
by: juststarter |
last post by:
Hello all,
here is my problem. I am using a property grid control (in a vb.net 2003
project) in which two properties are exposed : "editorStyle" and "events".
The first property is used to select one of a series of web controls. The
second one opens a collectioneditor which also exposes two properties :
"event" and "command". The "event" property is a combobox that is filled with
the events of the control that was selected in the...
|
|
by: Andreas |
last post by:
Hi!
I'm using a custom collection with custom items to be edited with a custom
CollectionEditor. This set of functionality is to be a part of a plugin for
a SharpDevelop-based application.
The strange thing now is that my derived CollectionEditor's SetItems method
is called when testing the collection editing within a small test
application,
but is NOT called when tested from within the SharpDevelop environment.
Thus whenever I add...
|
by: bp |
last post by:
I have developped a component with a propriety of type List<BaseItem> where
BaseItem is a generic class. Two classes inherit from BaseItem : Noeud and
Item. Class Noeud has also a propriety of type List<BaseItem> so that we can
build a tree of BaseItem and assign it to the component. I have a custom
collection editor to edit the component's propriety (I gave up my first idea
to implement my own CollectionForm!).
I have a problem : there...
|
by: Henry J. |
last post by:
Is there a way to find the element currently selected in a
CollectionEditor where a collection is displayed?
For PropertyGrid one can use something like SelectedGridItems to
get the currently selected property in a PropertyGrid. But I failed
to find anything for the selected element in a CollectionEditor.
Thanks for any tips!
|
by: colin |
last post by:
Hi,
I have my property editor wich uses the pop up
collection editor for arrays etc,
but i have had to use a generic wrapper for the
elements in some types of collections.
although the editing actually works well,
and I can set the name ok in the primary property editor,
this makes a mess of the type name displayed in the pop up colection editor,
is there any way to change this ?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|