I'm getting an error with the following details: Source Name property cannot be set within Style. Triggers section I want to change the rectangle ...
I'm getting an error with the following details: Source Name property cannot be set within Style. Triggers section I want to change the rectangle ...
I want that my border is continuously changing color from yellow to red. I tried this code, but it doesn't work. Why? ...
I dont know if im approaching this wrong or if there is an error in my code. And as i said above i would like to solve the problem through C# code an ...
I would like to animate a horizontal slide-in & fade combined with a Popup. The slide is implemented using DoubleAnimation on HorizontalOffset and ...
I have a custom TextBlock which overrides the base Text Property with new: I am a big fan of Binding, so I am trying to use it as such: OnProper ...
I'm currently styling a button template in WPF .NET Core 3.1 in a resource dictionary and I want to fade the button color when the button's IsEnabled ...
In my WPF application I have an animation of a certain element. The element to be animated looks like this. <Path x:Name="theX" StrokeThicknes ...
This is the code for the animation: private void Pass_GotFocus(object sender, RoutedEventArgs e) { DoubleAnimation doubleAnimation = new() { ...
If I put Foreground="White" in XAML then the foreground animates ok. But when I put Foreground="{Binding NumberForeground}" then I get: Cannot animate ...
I am trying to make an animated custom control with two different styles being displayed depending on a boolean Property. I have been able to move el ...
I have storyboard animation defined as resource. I start it using StoryBoard.Begin method. I would like to get current value of story board animation ...
I want to animate the size of a circle in a WPF animation: But all I get is the first and the last frame. First, the circle has the initial size of ...
While it is it easy to one-off background change and it already has many answers, how can I consistently animate color changing (e.g. not once, not to ...
I have an expander containing some elements along with a button. When the expander is collapsed, I would like to display the button in the expander's ...
I have StackPanel in the third column of Grid "MainGrid". It's(third column) width set to "2*". I want to hide StackPanel using margin and then use s ...
I have an application that is made using WPF, i have multiple pages and a form that contains a frame, and i load the pages on a frame, and each page h ...
I followed a tutorial on rotating a picture bound to a button and it should be pretty simple, yet I can't figure it out. First button press - rota ...
I wanna Move or Change position of an Image by clicking Another component. I know How to change an Image location by clicking it. This code shows. ...
I have a grid, which used as container. Grid consist of UserControl, each one has 600px height and 800px width. I want to make slide animation like pr ...
I know that a ModelVisual3D can be rotated around any axis via AxisAngleRotation3D, but is it possible to do the same with Viewport3D that contains 9 ...