This question is locked. New answers and comments are not allowed.
Hi,
When user change one of "MinTimeRulerExtent" or "MinorTickLength" or "MajorTickLength" VisibleRangeChangedCommand executed!
I load appointment in lazy mode. so each change causes to load appointment again.....
when VisibleRange doesn't change.....why VisibleRangeChangedCommand execute!
<
telerik:RadDropDownButton
Width
=
"30"
Height
=
"22"
telerik:StyleManager.Theme
=
"Office_Blue"
>
<
telerik:RadDropDownButton.Content
>
<
Image
Source
=
"../../AppResources/Images/Scheduler/fugue _node_deselect_16x16.png"
/>
</
telerik:RadDropDownButton.Content
>
<
telerik:RadDropDownButton.DropDownContent
>
<
Grid
x:Name
=
"PopupRoot"
>
<
Path
Data
=
"M7.0710683,0 L14.142137,7.0710683 L0,7.0710683 z"
Fill
=
"#FFF4F4F4"
HorizontalAlignment
=
"Left"
Height
=
"7.071"
Margin
=
"10,-6,0,0"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"14.142"
>
<
Path.Effect
>
<
DropShadowEffect
Direction
=
"90"
Opacity
=
"0.4"
ShadowDepth
=
"1"
BlurRadius
=
"0"
/>
</
Path.Effect
>
</
Path
>
<
StackPanel
FlowDirection
=
"RightToLeft"
>
<
TextBlock
Text
=
"بزرگنمايي: "
VerticalAlignment
=
"Center"
Margin
=
"8"
/>
<
Slider
Minimum
=
"{Binding ActualHeight, ElementName=radScheduler}"
Maximum
=
"5000"
Margin
=
"8 0 8 10"
VerticalAlignment
=
"Center"
Value
=
"{Binding ActiveViewDefinition.MinTimeRulerExtent, ElementName=radScheduler, Mode=TwoWay,FallbackValue=100}"
/>
<
TextBlock
Text
=
"زمان بازه هاي فرعي: "
VerticalAlignment
=
"Center"
Margin
=
"8"
/>
<
telerik:RadComboBox
Margin
=
"8 0 8 15"
VerticalAlignment
=
"Center"
SelectedIndex
=
"0"
SelectedItem
=
"{Binding ActiveViewDefinition.MinorTickLength, ElementName=radScheduler, Mode=TwoWay}"
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding ., Converter={StaticResource TickConverter}}"
/>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
<
scheduleView:AutomaticTickLengthProvider
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"0:1"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"0:5"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"0:10"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"0:15"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"0:30"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"1:00"
/>
</
telerik:RadComboBox
>
<
TextBlock
Text
=
"زمان بازه هاي اصلي: "
VerticalAlignment
=
"Center"
Margin
=
"8"
/>
<
telerik:RadComboBox
Margin
=
"8 0 8 10"
VerticalAlignment
=
"Center"
SelectedIndex
=
"0"
SelectedItem
=
"{Binding ActiveViewDefinition.MajorTickLength, ElementName=radScheduler, Mode=TwoWay}"
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding ., Converter={StaticResource TickConverter}}"
/>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
<
scheduleView:AutomaticTickLengthProvider
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"0:30"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"1:00"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"3:00"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"6:00"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"12:00"
/>
<
scheduleView:FixedTickLengthProvider
TickLength
=
"1.00:00"
/>
</
telerik:RadComboBox
>
</
StackPanel
>
</
Grid
>
</
telerik:RadDropDownButton.DropDownContent
>
</
telerik:RadDropDownButton
>