i have tried to bind the 2 calendar with same property but the issue is when when we select other month day then which is not affecting in another calendar.
XAML:
<Calendar x:Name="Cal1" Grid.Column="0" Grid.Row="0" SelectedDate="{Binding Selectdate, Mode=TwoWay}" SelectionMode="MultipleRange" RenderTransformOrigin="0.515,0.478" Margin="85,0,103,337" />
<Calendar x:Name="Cal2" SelectedDate="{Binding Selectdate, Mode=TwoWay}" Width="192" Grid.Column="1" SelectionMode="MultipleRange" Grid.Row="0" Margin="94,0,94,337"/>
Property:
private DateTime _selectdate;
public DateTime Selectdate
{
get { return _selectdate; }
set
{
if (value != _selectdate)
{
_selectdate = value;
}
}
}