wpf-4.0
Issue with x:TypeArguments and generic List class in XAML
I created the following markup for a loose XA开发者_JS百科ML file. <StackPanel xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"[详细]
2023-03-06 18:24 分类:问答Trouble animating a SolidColorBrush
I have the following code: <Grid.Background> <DrawingBrush Stretch=\"Uniform\"> <DrawingBrush.Drawing>[详细]
2023-02-21 22:09 分类:问答How do you add a dependency property with a discrete set of string values?
Many properties in standard WPF elements support a small discrete set of values that can be specified as strings when the elements are created in XAML. For example, StackPanel\'s Orientation property[详细]
2023-02-12 05:55 分类:问答Defining a color as a static resource
I would like to be able to do the following: ... <Grid> <Grid.Resources> <Color x:Key=\"MyColor\">#FFEEDD</Color>[详细]
2023-02-07 00:09 分类:问答How to grow/shrink a TextBlock (Font Size) to the available space in WPF?
I\'ve seen this question asked a lot, however, to the opposite of what I\'m looking for.While other people want a control to size itself based on the开发者_开发百科 size of text, I\'m trying to figure[详细]
2023-02-06 10:16 分类:问答Tying user control property to named parent property
I want to set a user control property to the value of a property in a parent control. For example, let\'s say my main window control has some initial configuration data. Currently I use the following[详细]
2023-02-02 03:54 分类:问答Passing large sets of data into user controls
Since UserControls in WPF have to have parameterless constructors, what is the correct way for supplying them with fairly complex data that is needed \"near\" the time of construction. I have tried us[详细]
2023-02-01 07:05 分类:问答Why can't I style a control with the Aero theme applied in WPF 4.0?
I recently converted a project from WPF 3.5 to WPF 4.0. Functionally, everything works, but the DataGrid style I was applying on top of the Aero theme has suddenly stopped working. As you can see from[详细]
2023-01-26 08:51 分类:问答WPF fails in XP with 120 DPI, but not with 96 DPI
This is odd.I have a WPF application that works just fine in XP when the DPI is set to 96, but it fails with it set to 120.I tried this on two separate XP machines with the same results.[详细]
2023-01-26 04:28 分类:问答Can You build a DockPanel like Visual Studio in WPF
In Visual Studio, we can add various panels like SolutionExplorer Panel, Properties Panel,etc. Also we can minim开发者_StackOverflow中文版ize these panels and maximize these panels.[详细]
2023-01-26 04:28 分类:问答
加载中,请稍侯......