Hello,
I'm writing a GUI application where I need to enable editing properties of arbitrary objects (their types are only known at run-time).
I've decided to use the PropertyGrid control to enable this functionality.
I created the following class:
[TypeConverter(typeof(ExpandableObjectConverter))]
[DefaultPropertyAttribute("Value")]
...
Hello,
I'm using in vc# 2k8 a control that is not standard! If someone starts my program without having the program, that my control is for, he'll get an exception!
How to check if you can use this control or don't...
The program should also work without that control and without the features that uses it by a condition!
EDIT: I'm sor...
Visual Studio QuickWatch window has a hierarchical property grid control. Is a control like that available somewhere?
The default property grid control doesn't seem to work for me as it requires the objects to have an ExpandableConverter attribute to work the way I want. Although, if any of you know a way to turn the property grid into ...
I'm having a hard time even phrasing this question.
I'm displaying preview images to users in my UI within a ListBox. When a user hovers over the image, I'd like to expand it so the user can see more detail.
I've gotten to the point where I can "pop up" the image, but of course it is still within its normal position in the layout, mea...
I'm teaching myself WPF and xaml by replicating existing controls and UI from AutoCAD 2010 and Excel 2010. Once the various controls are polished, I would be happy to share any code. Is there sites or communities that are open source and WPF or xaml based?
...
Is there a way to set your column (or row) to a named value rather than a number?
I am about to go add a column to my grid. That means I have to go to every control after the new column and bump up its column number. This is tedious and error prone.
Is there a way that I can bind to a named column? Maybe via resources? (As I write ...
Hi Folks,
I am trying to create an asp.net custom control that acts as a hosting container for any other controls, similar to the existing ‘Panel’ control. Basically, I need to build a web control that groups a bunch of other controls. It will consist of a header and a body pane, similar to a normal window in desktop application. The hea...
In webforms, if I wanted to display a list of categories I would create a category control. this control would either take in parameters or analyze the current url and list the categories and breadcrumb as appropriate.
What options do I have with asp.net mvc?
...
Hi
I have a group of Siverlight elements that are bound to an object. I want to be able to suspend the databind (effectively freeze their current values) for some time (when the mouse hovers hover the containing panel).
What's the best way to do this? There doesn't seem to be an easy way - one thought is to create a copy of the data ob...
//if I use BoxSizer instead of StaticBoxSizer, the button is clickable.
//if there is a radio button under StaticBoxSizer, it is clickable,
//but the button is not
row1 = wx.StaticBoxSizer(wx.StaticBox(panel, -1, 'this is row one'), orient=wx.HORIZONTAL)
row1.Add(label1,0,wx.TOP | wx.RIGHT,7)
row1.Add(self.fileCtrl)
row2 = wx.BoxSizer(wx...
Hi, please forgive me if this is not the proper place to post this question.
I'm new to dotNET and know nothing about Direct3D and WPF. The tutorials I found out there don't seem to be suitable for a beginner like me.
I want to create a simple windows form in CSharp which has its 2D controls placed in a 3D space, please guide me in a s...
I'm looking for a dockable windows/panel control in the style of iGoogle. All of the ones I have found so far all have a fixed length on the height of your window/panel but I want to be able to have windows of varying length like iGoogle.
The best I have found so far has been a control libarary called BlackLight which does not have the ...
Hi,
I've got a custom WPF control with a DependencyProperty MyString
I'm using the control within an ItemsControl on my View and want to fish a value out from the ViewModel.
As the DataContext of the control becomes each Item in the ItemsSource of the ItemsControl I thought I'd just be able to use FindAncestor but it dosnt seem to wo...
Hello, guys!
I wonder if there is a possibility to (visually and functionally) link two controls(components)? (.NET2)
Simplifying the things, I have two labels - one of them is the main label (it can be deplaced with the mouse) and an other - the description label - it needs to follow the main label on a specified distance.
Also, the...
I'm trying to create a control in Silverlight that inherits from Button so that I can perform a specific action everytime it is clicked. I'm doing this because I'd like to reuse this custom button in several locations with the same functionality.
I'd like to create the control in such a way so that I have a can set the custom Button's ...
Helo!
I have a small problem with CreateChildControls() method.
I have a List of items, and each item will have a Button with Click event.
Items will be added in Page_Load event.
So for each item in a list, I would like to add a Button with EventHandler
like this:
foreach (Item i in _items)
{
Button del = n...
I'm using a usoft date time picker control in a dialog box. I started by setting the format to "HH':'mm' 'ddddMMMdd','yyyy" and the current local date & time using DTM-SETSYSTEMTIME. If the user changes any field in the control, the program can not reset the date and time in the control using DTM-SETSYSTEMTIME although SendMessage retur...
I've reached a bit of an impasse when developing a .NET windows forms app. The problem has to do with switching focus between controls, and how it plays with maintaining the form's control's states.
There are three main controls in the UI – two combo boxes and a button.
Both combo boxes start off with SelectedItem = null.
Both combo b...
Hi
I have master page & its content page. I want to get the textboxes situated on Content page. How can i get them in C# code behind of Content page?
...
In my C++ Win32 GUI application I have a dialog with an edit control created from a dialog template:
EDITTEXT IDC_EDIT_Id, X, Y, W, H,
ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
Whenever I manually input multiline text with carriage returns and call GetWindowText() the retrieved text is broken into lines with CR ...