try click once deployment::
http://www.15seconds.com/issue/041229.htm
Monday, 20 September 2010
Saturday, 18 September 2010
Data Template and Item Template
Data Template is used when different data is presented in the form of same data format.
This is defined under Resources of XAML page. While Declaring Data Template, make a complete set of required UI controls. like:
DataTemplate DataType="" Key=""
Control1
Control2
Control3
DataTemplate
While using the DataTemplate, assign created DataTemplate in ItemTemplate and define ItemsSource also. ItemSource may have collection of type specified in DataTemplate.
DataTrigger::
In XAML file -
DataTemplate.Trigger
..................................
Custom controls in WPF
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Tag="Rating">
MouseEnter="OnMouseEnter" />
MouseEnter="OnMouseEnter" />
MouseEnter="OnMouseEnter" />
MouseEnter="OnMouseEnter" />
MouseEnter="OnMouseEnter" />
Concept of Custom Control: First create a Style with any name/key and specify a TargetType(UI Control) also. When this style is required just specify while declaring UI Control. EventHandlers can also be attached and defined in code behind page.
Wednesday, 15 September 2010
WPF custom controls
to read about WPF custom controls:
http://www.codeguru.com/cpp/data/data-misc/xml/article.php/c12521__1/Creating-Custom-WPF-Controls.htm
http://www.codeguru.com/cpp/data/data-misc/xml/article.php/c12521__1/Creating-Custom-WPF-Controls.htm
Subscribe to:
Posts (Atom)