C1.Silverlight.Binding Namespace : C1StaticResource Class |
'Declaration
Public Class C1StaticResource Inherits System.Windows.Markup.MarkupExtension
public class C1StaticResource : System.Windows.Markup.MarkupExtension
The C1StaticResource class is similar to a regular StaticResource markup, but supports a path specification instead of simple objects.
Paths are specified using the same expression syntax used in the C1Binding class. This allows you to use object members as resources.
<c1:C1FlexGrid ItemsSource="{Binding Source={StaticResource _model}, Path=People}" AutoGenerateColumns="False" > <c1:C1FlexGrid.Columns> <c1:Column Binding="{Binding JobID, Mode=TwoWay, Converter={c1:C1StaticResource Key=_model,Path=JobsConverter}}" /> </c1:C1FlexGrid.Columns> </c1:C1FlexGrid>
System.Object
System.Windows.Markup.MarkupExtension
C1.Silverlight.Binding.C1StaticResource
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2