or
Is it possible to have a different DisplayContent that is detached from the member on the GroupDescriptor object for the RadGrid?
Scenario: EscalationID is a guid and is set as the member. However, to make the UI user friendly. I need to change the grouping "Header" to a custom text or a different member.
<DataTemplate x:Key=
"busyTemplate"
>
<StackPanel Orientation=
"Vertical"
>
<Label Content=
"Synchronizing EliteLive.sdf with the remote database."
/>
<TextBlock Text=
"{Binding SyncStatus}"
TextWrapping=
"Wrap"
/>
</StackPanel>
</DataTemplate>
<telerik:RadBusyIndicator x:Name=
"busyIndicator"
Grid.Row=
"0"
HorizontalAlignment=
"Stretch"
VerticalAlignment=
"Stretch"
IsBusy=
"True"
IsIndeterminate=
"True"
ProgressValue=
"{Binding PercentageComplete}"
BusyContentTemplate=
"{StaticResource busyTemplate}"
>
</telerik:RadBusyIndicator>
Greetings, I am attempting to use the LinearScale to show a simple horizontal gauge with a Custom TickList that I am attempting to databind the ItemsSource to a POCO. I do not want any other tick marks to show on the gauge. Is this possible? I keep getting an error about the ticks collection not being empty.
<telerik:RadGauge Height="50" HorizontalAlignment="Left" Margin="10,20,0,0" Name="radGauge1" VerticalAlignment="Top" Width="300"> |
<telerik:LinearScale Name="linearScale" Orientation="Horizontal" Width="300" Height="40" Left="0.02" Top="0.06" MajorTicks="0" |
Min="0" Max="{Binding Resident.ResidentType.CareLevels, Converter={StaticResource CareLevelToMaxRangeConverter}}" |
StartWidth="0.02" EndWidth="0.02" StrokeThickness="0.5"> |
<telerik:TickList ItemsSource="{Binding Resident.ResidentType.CareLevels, Converter={StaticResource CareLevelToTicksConverter}}"> |
</telerik:TickList> |
<telerik:RangeList ItemsSource="{Binding Resident.ResidentType.CareLevels, Converter={StaticResource CareLevelToRangeConverter}}"/> |
<telerik:IndicatorList> |
<telerik:LinearBar Width="10" Name="linearBar" TooltipFormat="Daily Minutes: {0:F1}" |
Value="50" |
Location="CenterInside" SnapType="None"/> |
</telerik:IndicatorList> |
</telerik:LinearScale> |
</telerik:RadGauge> |