Hi telerik,
I am using appointment template selector class. Below one of the template I have written, I not want to show the delete button for this appointment. How can I prevent it, Its need to use styleselector class? If yes then what about this class? I can't use one of them?
One more thing , I want to know what is the current time in schedulerView. How can i know that? In visible range.start i got the 12:00 am time. I want to know what is the current time shown in schedulerView.
One more thing, How can I change the start day of week in datepicker?? Is it possible to set it dynamically.. that is for one user it shows monday as start day ,for another user it shows sunday as start.
<DataTemplate x:Key="FinishedAppointmentTemplate">
<Border x:Name="XamlBorder" Margin="-2">
<Grid>
<ToolTipService.ToolTip>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=Start,StringFormat=t}" />
<TextBlock Text="-" />
<TextBlock Text="{Binding Path=End,StringFormat=t}" />
<TextBlock Text=" " />
<TextBlock Text="{Binding Subject}" />
</StackPanel>
</ToolTipService.ToolTip>
<TextBlock x:Name="XamlSubjectTextBlock" Margin="7 0 18 0" Width="{Binding ElementName=XamlBorder, Path=Width}"
VerticalAlignment="Top" HorizontalAlignment="Left"
Text="{Binding Subject,Converter={StaticResource XamlStringFormatConverter}}"
Foreground="Gray" TextWrapping="Wrap" />
</Grid>
</Border>
</DataTemplate>
Thanks
Hardik
I am using appointment template selector class. Below one of the template I have written, I not want to show the delete button for this appointment. How can I prevent it, Its need to use styleselector class? If yes then what about this class? I can't use one of them?
One more thing , I want to know what is the current time in schedulerView. How can i know that? In visible range.start i got the 12:00 am time. I want to know what is the current time shown in schedulerView.
One more thing, How can I change the start day of week in datepicker?? Is it possible to set it dynamically.. that is for one user it shows monday as start day ,for another user it shows sunday as start.
<DataTemplate x:Key="FinishedAppointmentTemplate">
<Border x:Name="XamlBorder" Margin="-2">
<Grid>
<ToolTipService.ToolTip>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=Start,StringFormat=t}" />
<TextBlock Text="-" />
<TextBlock Text="{Binding Path=End,StringFormat=t}" />
<TextBlock Text=" " />
<TextBlock Text="{Binding Subject}" />
</StackPanel>
</ToolTipService.ToolTip>
<TextBlock x:Name="XamlSubjectTextBlock" Margin="7 0 18 0" Width="{Binding ElementName=XamlBorder, Path=Width}"
VerticalAlignment="Top" HorizontalAlignment="Left"
Text="{Binding Subject,Converter={StaticResource XamlStringFormatConverter}}"
Foreground="Gray" TextWrapping="Wrap" />
</Grid>
</Border>
</DataTemplate>
Thanks
Hardik