Friday, May 21, 2010

SilverDude Toolkit for Silverlight

SilverDude Toolkit for Silverlight contains a collection of silverlight controls making life easier for developers. You'll no longer have to worry anymore because these controls will help you guys save your time. It's developed in C# for Silverlight 3.

Main Project Page or go here http://silverdudetoolkitsl.codeplex.com/

Source Code



Controls included : -

1. WaitIndicator

WaitIndicator is used while waiting a process to complete, a kind of loading progress concept.



Properties : WaitLoadingColor, WaitBackgroundColor
Methods : Start(), Stop()

Usage

XAML
 


C#
 void MyAsynchronousCall()
{
wait.Start();
/* Do somethig here to make async call */
}

void MyCompletedAsynchronousCall()
{
wait.Stop();
/* Do something here to process the result data */
}

Live Demo WaitIndicator


2. GlowButton



Glow Button features a new and unique mouse over effect

Properties : GlowText, GlowTextColor, GlowColor
Event(s) : Click

Usage

XAML



C#
public MainPage()
{
InitializeComponent();
glowbtn.Click += new SL.SilverDude.Toolkit.GlowButton.ClickHandler(glowbtn_Clicked);
}

private void glowbtn_Clicked()
{
/* Do something here */
}

Live Demo GlowButton


3. PagingPanel



Paging panel is used to allow user to navigate item in with paging feature.

Properties : PagingTextColor, PagingButtonColor
Methods : InitPaging()

Usage

XAML
 





C#
for (int i = 0; i < content = "Hello" controltovalidate =" sp;" itemperpage =" 5;">
Live Demo PagingPanel


4. SlidingPanel



Sliding Panel is used to allow user to navigate item in an interactive manner.

Properties : SlidingButtonColor
Methods : InitSliding()

Usage

XAML


C#
for (int i = 0; i < width =" 150," height =" 225">
Live Demo SlidingPanel


5. SmartTextBox



SmartTextBox is a universal textbox which combines a few features like normal textbox, password textbox and
textbox with search button.

Properties : SmartText, SmartThemeColor, SearchEnabled, PasswordBox
Events : ResetClick, SearchClick

Usage

Normal SmartTextBox
XAML
 


PasswordBox SmartTextBox
XAML
 


Search Enable SmartTextBox
XAML
 

C#
//Need to subscribe the SearchClick event              
sch.SearchClick += new SL.SilverDude.Toolkit.SmartTextBox.SearchClickHandler(sch_SearchClick);

void sch_SearchClick(string text)
{
/* Do something here */
}

LIve Demo SmartTextBox


6. PopupMessageBox



PopupMessageBox is used to display a popup message in your application.

Properties : PopupMessageIcon, PopupBackgroundColor, PopupMessageType, PopupButtonGlowColor
Methods : Show()
Events : OkButtonClick, YesButtonClick, NoButtonClick, CancelButtonClick, RefreshButtonClick

Usage

XAML


There a a few options for PopupMessageType :
OK, YesNo, YesCancel, OkCancel, Refresh

There a a few options for PopupMessageIcon :
Exclamation, Information, Question, Error, Success, None

C#
popupmsg.Show("Hello Murad");


Live Demo PopupMessageBox

No comments:

Post a Comment