Hi Team,
Thank you for your continuous support.I have the urgent issue with the Rad Pivot Grid,Please help me out.
Here is the Scenario,I have the Rad Pivot Grid Cell Template Where a Text block is placed i need to set the foreground based on the condition,have used multi binding for it, i need to pass few parameters which are in the collection which is bound to the item source of data provider,how can i access those objects in order to bind it to the foreground, i have browsed for it , where we only bind the data as Text="{Binding Data}",but could not bind any property which is in the collection.How can i do this....
<DataTemplate x:Key="CellTemplate">
<TextBlock Margin="6" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding Data,Mode=OneWay,Converter={StaticResource PpcConverter}}" FontSize="{Binding Path=FontSize,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type pivot:RadPivotGrid}}}">
<TextBlock.Foreground>
<MultiBinding Converter="{StaticResource MultiConverter}" >
<Binding Path="Data" Mode="OneWay"/>
<Binding Path="Product1"/>
<Binding Path="Product2" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type pivot:RadPivotGrid}}"></Binding>
</MultiBinding>
</TextBlock.Foreground>
</TextBlock>
</DataTemplate>
Many Thanks,
Ruth
Thank you for your continuous support.I have the urgent issue with the Rad Pivot Grid,Please help me out.
Here is the Scenario,I have the Rad Pivot Grid Cell Template Where a Text block is placed i need to set the foreground based on the condition,have used multi binding for it, i need to pass few parameters which are in the collection which is bound to the item source of data provider,how can i access those objects in order to bind it to the foreground, i have browsed for it , where we only bind the data as Text="{Binding Data}",but could not bind any property which is in the collection.How can i do this....
<DataTemplate x:Key="CellTemplate">
<TextBlock Margin="6" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding Data,Mode=OneWay,Converter={StaticResource PpcConverter}}" FontSize="{Binding Path=FontSize,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type pivot:RadPivotGrid}}}">
<TextBlock.Foreground>
<MultiBinding Converter="{StaticResource MultiConverter}" >
<Binding Path="Data" Mode="OneWay"/>
<Binding Path="Product1"/>
<Binding Path="Product2" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type pivot:RadPivotGrid}}"></Binding>
</MultiBinding>
</TextBlock.Foreground>
</TextBlock>
</DataTemplate>
Many Thanks,
Ruth