And more improvements for the EllipsedProgressBar

Today I again have used my EllipsedProgressBar and found one issue and have get some ideas.
- If the control was started in the Visibility.Collapsed state and enables later on, it was not rotating, this I have fixed
- The speed now is changeable by defining the Speed property
- IsEnabled now is supported, the control then stops in the starting position
- The IsEnabled, Color, Speed, Visibility and Size now can be changed at runtime

Everything is available in Tulipa version 4.0.20.0

David W.

Do you like a better EllipsedProgressBar?

I have planned to implement a new EllipsedProgressBar with more possibilities like an wide ellipse or display of a real process.
Because I have no time to create a new one I just have enhanced the current EllipsedProgressBar.
That are the changes in detail:
- The EllipsedProgressBar internally uses the EllipsePanel, this panel was throwing an exception if the size is below then 0, that I have changed so the EllipsedProgressBar will not crash anymore if the size is 0.
- The EllipsedProgressBar now can be set to Visibility.Collapsed.
- The EllipsedProgressBar now can rotate in both directions, see the Direction property.
- The EllipsedProgressBar now every time will be a square, that means if the height is not the same as the width, the width will be taken. That means it is enough to set the Width property of the control, the height will be adjusted automatically.

Everything is available in Tulipa version 4.0.15.0.

David W.

The EnhancedTreeView was crash - huh

Today I found a small bug in the EnhancedTreeView.
I have created a dialog where items can be shifted between two tree views, then I have get a crash as soon the last selected item from the EnhancedTreeView was removed.

This now is fixed in Tulipa 4.0.11.0. this version will not crash anymore because of this.

David W.

ImageButton gets more properties

After discussion with Florian S. he has some good ideas for improving the ImageButton, thanks for that :)
The ImageButton how has some more properties: DisabledBitmapSource, HorizontalImageAlignment, VerticalImageAlignment and ImageStretch.
Please see the documentation for details.

After changing this I have thrown two controls, first the BindableRadioButton, because this control is not needed anymore with the .Net framework 4.0 and the BindableMenuItem.

Everything can be found in the Tulipa version 4.0.10.0.

David W.

Welcome: ImageButton

The developing was very easy but usefully: An image inside a button with an disabeling possibility.

In WPF it is possible to create a button like this

<Buton>
    <StackPanel Orientation="Horizontal">
        <Image Height="16" Width="16" Margin="0,0,2,0" Source="..\Resources\Okay.png" />
        <TextBlock Text="Okay" VerticalAlignment="Center" />
    </StackPanel>
</Buton>

But this have two problems.
First, this have to be done on every button which should take an image, or for every different button an style has to create.
The second problem is much problematic, what about the disabeling? An Image does not gray out automatically after set IsEnabled to false.

Both now is possible with my new ImageButton.
To have the same button like I show now, simply write

<Tulipa:ImageButton ImageSource="..\Resources\Okay.png" Content="Okay" />

The Image automatically gray out after set IsEnabled to false, and the button has some properties for arrange and modify the image, just take a look into the documentation.

The control is added in Tulipa version 4.0.7.0.

David W.