controls
How to set focus on NumericUpDown control?
I am trying to set focus on NumericUpDown element from WPFs extended toolkit. I heve following XAML <Window ...[详细]
2023-03-28 09:40 分类:问答WPF ListBox Custom Control issues
In WPF, I am creating a simple custom control for my TODO program. It should do the following: Show up as a ListBox with an Add and Remove button above it.[详细]
2023-03-28 08:18 分类:问答Best control to draw in
I have a VB app which draws primitive shapes (lines, filled rectangles etc.) into a picturebox control (from its paint event). I\'ve since found out that a picturebox is probably the worst control to[详细]
2023-03-28 04:15 分类:问答DatePicker SelectionChanged Code is not working - WPF
Here is my code in WPF: XAML: <StackPanel Width=\"150\"> <DatePicker Name=\"dpick\" FirstDayOfWeek=\"Monday\" SelectedDateFormat=\"Short\"/>[详细]
2023-03-28 03:44 分类:问答Can Margin be enforced even with Dock property set?
I have a WinForms Form with a few controls on it. All of them are GroupBox controls and I want them stacked, with a vertical margin set between them. I have set the Dock property to Top and it stacks[详细]
2023-03-27 20:35 分类:问答ASP.NET 3.5: How to keep child controls from beind disabled when parent control is disabled?
Take this simple example for example: <asp:Panel ID=\"pnlTest\" runat=\"server\"> <asp:TextBox ID=\"txPanelText\" Text=\"Text\" runat=\"server\" />[详细]
2023-03-27 16:43 分类:问答How to get combobox not to accept user input in Excel-Vba?
Does anyone know what the properties are in the combobox that I can manipulate in order not t开发者_如何学运维o allow the user to key/type in any data?Set the the Style of the combobox to 2 - fmStyleD[详细]
2023-03-27 14:17 分类:问答Subclassing ItemsControl or some other tactic?
I am attempting to create a custom control.This control will have need a binding that works like a listbox or treeview where it can be bound to an ObservableCollection and items added and removed as n[详细]
2023-03-27 10:39 分类:问答How to suppress Javascript errors thrown in WebBrowserControl Print method.
I have a windows c# application that uses WebBrowser Control to navigate to a webpage. I use WebBrow开发者_C百科ser.Print() to silent print this web page. Now i get some Java Script errors while print[详细]
2023-03-27 04:55 分类:问答WPF custom control with generics - possible?
I\'d like to create a custom WPF control using generics: public class MyGenericTypeControl<T> : ItemsContr开发者_运维知识库ol[详细]
2023-03-27 03:31 分类:问答