styles
Why does TextBox get a padding when Grid.Margin is set in App.xaml?
A simple window: <Window x:Class=\"MyApp.MainWindow\" xmlns=\"...\" xmlns:x=\"...\"> <Window.Resources>[详细]
2023-03-26 10:39 分类:问答What's the best way for displaying GIF Animation Images in WPF?
I would like to display an animation gif such as loading... in my XAML as my procedure is progressing. I found out that this cannot be easily done in WPF as I loaded my G开发者_开发技巧if and it just[详细]
2023-03-25 21:30 分类:问答change size button in runtime (wpf)
Why size does not change in IsMouseOver? <Style开发者_开发问答 x:Key=\"GlassButton\" TargetType=\"{x:Type Button}\">[详细]
2023-03-25 21:03 分类:问答WPF Page navigation
I use a custom textblock in my WPF Application, when I use it in WPF Windows it worked good but when I use it in a WPF Page it make a problem. When I click on a link in my Custom Control it browse the[详细]
2023-03-25 18:12 分类:问答How do you give style to the active state of a TextBox?
I know I can rewrite the Template of my TextBoxes to redefine it\'s visual states but isn\'t there an easy way to just say: \"make this textbox yellow when it is active (got focus)\"?[详细]
2023-03-25 16:13 分类:问答putting line-height in select box
how is putting line-height: 40px; for option in select box? <select class=\"select_box\"> <option value=\"\" disabled=\"disabled\" style=\"display: none;\">Categories</option>[详细]
2023-03-25 16:11 分类:问答Defining other resources clobbers theme in WPF
I am building some WPF pages in a win forms application.I wish to use WPF Themes for my application. Not having an App.xaml (because the project i开发者_Python百科s a win forms project with a WPF Elem[详细]
2023-03-25 11:38 分类:问答MouseEvent not Bubbling up
I have two intersecting rectangles. I want the opacity of both to change when Mouse hovers over them. It works when mouse is over one of them. But when the mouse is on the intersecting area of the rec[详细]
2023-03-25 10:33 分类:问答How to trigger "IsRemoteSession" or "IsSoftwareRendering" in UserControl style?
We are developing usercontrols with .NET 4 - WPF. We have a lot of customers who are running our application in a remote session (e.g. Termina开发者_Go百科l-Server, Citriy, etc.).[详细]
2023-03-25 03:25 分类:问答Disable Style in WPF XAML?
Is there anyw开发者_开发问答ay to turn off a style programatically? As an example, I have a style that is linked to all textboxes[详细]
2023-03-25 03:07 分类:问答