I have a DataGrid in my application, which have a column with defined CellTemplate with a text block and a button in it.
I want to show the button only when hover this specific cell. How can i achieve this?
Thanks in advance.
...
I want to animate the rectangle x position from my code behind (as the x position is only determined at the run time).
I have got the following code:
KeySpline easeOut = new KeySpline(0, 1, 0.3, 1);
Storyboard sb = new Storyboard();
DoubleAnimationUsingKeyFrames da1 = new DoubleAnimationUsingKeyFrames();
SplineDoubleKeyFrame keyFrame1...
I have this method fired on a button click. MyObj is an extended Control type with two properties CenterX and CenterY with backing dp CenterXProperty and CenterYProperty.
With the animation playing the CenterX and CenterY properties of MyObj are changing, but I can't see any movement of the object.
private void MoveMyObjectsWithAnimat...
I have the following code inside my ControlTemplate:
<EventTrigger RoutedEvent="ControlTemplate.Loaded">
<EventTrigger.EnterActions>
<BeginStoryboard>
And I want to start Storyboard which I have defined in ControlTemplate, when control is loaded. So my question is: what in ControlTemplate rises Loaded event...
Hi all
I'm using few storyboards in my application in the style of few controls, the storybards use to flash the control when appears on screen, the problem is that from the first control appear the cpu usage gets to 50% I added Timeline.DesiredFrameRate="20" to the storyboards with no use
is there any solution to this problem or at...
I have a storyboard here in XAML using Microsoft expression Blend and I am wanting to call this storyboard in C# and I have researched for a day or so and I cannot seem to find the answer. I am at this point
<UserControl.Resources>
<Storyboard x:Key="LoginClose">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UI...
I would like to generate a set of still-frames from an animated WPF storyboard.
My goal is to be able to specify a frame-rate, and 'record' any WPF Storyboard, which will generate still PNG images of each 'step' in the timeline. Then I can wire them together any way I like (animated GIF, AVI etc etc).
Can anyone with indepth experience w...
I wish to seek to a specific time or frame using the ClockController.SeekAlignedToLastTick - however this does not appear to do anything, unless the Storyboard is running.
I dont want to have to 'start' the storyboard, because I only intend the Storyboard to set all dependencyproperty values, and have everything lay-out for that time pos...
<Border Name="ItemBorder" Margin="5 5 0 5" BorderBrush="Black" BorderThickness="1" Height="75" Width="75">
<Border.Background>
<SolidColorBrush x:Name="ItemBorderBrush" Color="LightBlue"/>
</Border.Background>
<ContentPresenter/>
</Border>
<ControlTemplate.Triggers>
<EventTrigger RoutedEvent="someEvent">
<BeginStoryboard>...
Hi all,
I have an usercontrol in silverlight that I'm trying to convert to custom control.
The usercontrol is working.
The customcontrol is working BUT has its storyboard not working.
the control is :
public class MyControl : Control
{
public MyControl()
{
DefaultStyleKey = typeof(MyControl);
}
public static r...
Are there any (preferably free) tools which would let you throw together a quick outline of a UI, and build these into storyboards to create a mockup of how a use-case might play out including popup dialogs that could be raised, etc?
...