Title border panel with c# [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How can I add a border with title to a panel using c# like this:
see this pic.

Open the toolbox
Select the GroupBox control and drag it onto your form
Set the groupbox Text property to the desired caption
Drag other controls inside the groupbox

What you looking for is called GroupBox
For more information about GroupBox refer to this link.

Related

split combo box click and toggle button click in wpf [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
Currently,I am using MahApps.Metro Combo Box and Can i split event of Combo box click event and toggle button click? Like this=>
Please Check Image Here
My requirement is when i click Click 1,I don't want to show drop down list and just do click event.
But when i click Click 2,I just want to show drop down list and not trigger click event.
How can i achieve this? Thanks.

How to create Numeric UpDown in UWP? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am creating a derived class of TextBox for numeric data entry. I would like to add 2 buttons at the right side, like the X button in some TextBox controls to increment or decrement the value.
How can I do it?
What you are looking for is a Numeric Updown. See this question for how to implement your own
Where is the WPF Numeric UpDown control?

Change the color of disabled textbox in IE [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to change the color of the disabled textbox value in my gridview to black.
It's working in every browser except IE.How to change the color of the text which is disabled
It is not working in Internet Explorer because you simply can not change the font color of a disabled textbox in Internet Explorer.
However you can change ‘disabled’ to ‘readonly’ then use styling to reproduce whatever shaded disabled effect you want. ‘readonly’ controls are not turned into OS-level-disabled widgets giving you more latitude to style them. But when you do this you should remember that using the disabled attribute causes the underlying element not to be submitted during a form submit but readonly controls are submitted to the server. So you should not use readonly if your server code isn't expecting a value from that control.

how can I multi select items in listbox with wp7 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to code a listbox which you can select multiple items.
ContactResultsData.SelectedItem = ContactResultsData.Items[0];
This code is useful for selecting one item. But I want to multiselect. how can I do? thanks.
note: my selection mode of listbox already is multiselect .
Use collection SelectedItems to add items, remove items or do smth else with selection
ContactResultsData.SelectedItems.Add(ContactResultsData.Items[0]);
ContactResultsData.SelectedItems.Add(ContactResultsData.Items[1]);

How to start a command from a usercontrol to a window [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
So I am making a webbrowser. I made my own address bar usercontrol, it is in the same solution as the main window. This is what I want to happen.
I have an event called getcurrentbrowser() in the MainWindowClass,
But I need it to be called from the Addressbar class,
And then change the webbrowser's source in the Addressbar class,
And this command is launched by an image.
I think you should add a property like Source to MainWindowsClass and another to AddressBar Control.
Then Bind Source Property of WebBrowser and AddresssBar to MainWindowClass.Source Property with Mode=TwoWay

Categories

Resources