CodeProject


Hi,

It has been long since i was thinking of putting these controls on net. I’ve named it as Funky Tab Control. The control renders the Tab Header section on the left. The Header of the selected Tab Item moves upwards using Elastic In Out animation. The color also changes to red.

The content on the right also changes using a similar animation horizontally. The screen looks like:

Funky Tab Control

 

The controls can be used that same way as tab controls.
1. Add the reference to the Funky Controls assembly.
2. Add reference to your window/Page/User Controls lile
xmlns:ft="clr-namespace:FunkyTabs;assembly=FunkyTabs"

3. Create control like a tab control
 
<Grid x:Name=”LayoutRoot”>
        <ft:FunkyTabControl>
            <ft:FunkyTabItem x:Name=”T1″ IsSelected=”True” Header=”T1″ >
                <TextBlock FontFamily=”Arial” FontSize=”48″ VerticalAlignment=”Center”
                           HorizontalAlignment=”Center”>Tab 1</TextBlock>
            </ft:FunkyTabItem>
            <ft:FunkyTabItem x:Name=”T2″ Header=”T2″ >
                ….
            </ft:FunkyTabItem>
            <ft:FunkyTabItem x:Name=”T3″ Header=”T3″ >
                ….
            </ft:FunkyTabItem>
        </ft:FunkyTabControl>
    </Grid> 

The link below allows you to download the sample:

http://cid-b3dbeec391c45395.skydrive.live.com/self.aspx/Public/Source%20Code/FunkyTabs.zip

Next in line should be Mac Style Dock skins for Menu controls in WPF….
Please feel free to share your thoughts on the blog.

Enjoy!!!

Sunil

I found this cool multi touch library for WPF(http://www.codeplex.com/MultiTouchVista). Check out how simple is it to create a photoboard.

Download code from here

– Attach two mice to your computer
– Copy some pictures to your “My Pictures” folder
– Execute WpfApplication1\WpfApplication1\bin\Debug\WpfApplication1.exe
– Please close the multi-touch service(opens as console app) after this.

Note: You need .NET framework 3.5 installed.

Enjoy!

Sunil

One of the graphics features of many windows applications which we are probably most comfortable using is multiple document interface. I am a software developer constantly trying my hand on newer technologies. 

 These days i am evaluating WPF, Visual Studio .NET 2008 and Expression Blend(tool for creating XAML). WPF is especially a new concept for Visual Basic developers and they may find it a little difficult to understand in the beginning, but i am sure once they understand a few basic classes of the new framework they would love the new features.

Going through the web i found that there is a tremendous demand for a MDI Window feature with in WPF and it is not included with in the first version of it. I thought it would be a good exercise to try and learn WPF while constructing classes for MDI.

Studying through web I’ve found that we’ll need to understand the architecture and the very facade which lies at the base of Windows Presentation Framework.

http://msdn2.microsoft.com/en-us/library/ms750441.aspx is a good start.

 Going through article i found that i need to understand the four basic elements that define the facade. They are

1. UIElement
2. ContentElement
3. FrameworkElement
4. FrameworkContentElement

Here is a sample code i’ve put together for supporting multiple windows.

MDIWindowUpdated.zip

The application uses animator library by Darren David. Use the following link to learn more about it:
link to Animator lib blog
Have a great time meanwhile.

 🙂

Sunil