Browse by Tags
All Tags »
Development (RSS)
Sorry, but there are no more tags available to filter with.
The simple way to organize and define your projects for MVVM pattern. MVVM.CS public interface IView <T> { T ViewModel { get ; set ; } } public interface IViewModel <T> { T View { get ; set ; } } SampleView.xaml < UserControl.DataContext...
Basic and elementary class to bring up UI inertia like iPhone/Surface dragging effect, force-directed layouts, etc.. public class UInertia { private DependencyObject element = null ; private DependencyProperty property = null ; public UInertia( DependencyObject...
Here's an extensions methods to help animations on UIElements, Transforms, Brushs or whatever DependencyObject in code without need of XAML Storyboards. public static class AnimationExtensions { public static void ChangeState( this Control source...
If you don't want to show all collection items at the some time.. public class QueuedObservableCollection <T> : ObservableCollection <T> { private Queue <T> queue = new Queue <T>(); private DispatcherTimer queue_timer = new...
Here's my proposal to break the limitations of current data/web feeds formats Simplicity Structured/Unstructured Relational Search and Filter friendly Templating and DataBinding friendly Concepts: ItemsFeed - is a data/web format (like RSS/Atom),...
A navigable version of DynamicItem . Now you can define forward/backward behaviors. NavigableDynamicItem.cs public class NavigableDynamicItem : Control { private object temp_data = null ; public NavigableDynamicItem() { this .DefaultStyleKey = typeof...
A navigable version of DynamicItem . Now you can define forward/backward behaviors. Generic.xaml < Style TargetType ="local:NavigableDynamicItem"> < Setter Property ="Template"> < Setter.Value > < ControlTemplate...
You can use this panel as ItemsPanelTemplate on ItemsControl , ListBox , ... Note: For a better control over delta FPS use a Storyboard instead DispatcherTimer . public class Ticker : Canvas { public static readonly DependencyProperty DelayProperty; public...
Plain text and image extraction from HTML... public class TextConverter : IValueConverter { #region IValueConverter Members public object Convert( object value, Type targetType, object parameter, CultureInfo culture) { return Regex.Replace(( string )value...
XmlDataProvider (Text, Number and DateTime) sorting... public class TextSortConverter : IValueConverter { #region IValueConverter Members public object Convert( object value, Type targetType, object parameter, CultureInfo culture) { if (value != null...
Number round and DateTime format... public class NumericConverter : IValueConverter { #region IValueConverter Members public object Convert( object value, Type targetType, object parameter, CultureInfo culture) { if (! string .IsNullOrEmpty(( string Read...
The ideia is something like "TransitionControl" concept (included in Toolkit), but using DataContext (Binding/Templating) and VisualStates. DynamicItem is a Control and must to be templated and the entering/leaving behaviors defined using the...
Basic implementation of " Blendables Essentials Mix " concept for Silverlight. Zoombox.xaml < UserControl x : Class ="Sample.Zoombox" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x ="http...
CollectionFlow is a Carousel , CoverFlow , whatever (change it properties and get what you want) for Microsoft Silverlight 3.0 . Unlike other samples, CollectionFlow inherit from ItemsControl , then you can use DataBinding / DataTemplate and change ItemsPanel...
Some User eXperience guidelines. Read More...
Next page »