Selection Start/End

2 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 29 Sep 2011 Link to this post

    Hi,

    can anyone tell me if it's possible for the SelectionStart/SelectionEnd properties to have 1 day of range by default, of course afetr that, the user can have the possibility the expand this range?

    Thank's
  2. Missing user
    Missing user avatar

    Posted 04 Oct 2011 Link to this post

    Hello Oliver,

    In order to set an initial selection range you can use TimeBar.SelectionStart and TimeBar.SelectionEnd properties. For example, you can set a selection range of 1 day like that:
    <telerik:RadTimeBar x:Name="timeBar"
                        PeriodStart="09/23/2011"
                        PeriodEnd="10/04/2011"
                        VisiblePeriodStart="09/26/2011"
                        VisiblePeriodEnd="10/02/2011"
                        SelectionStart="09/27/2011"
                        SelectionEnd="09/28/2011">
        <telerik:RadTimeBar.Intervals>
            <telerik:MonthInterval/>
            <telerik:WeekInterval/>
            <telerik:DayInterval/>
        </telerik:RadTimeBar.Intervals>
    </telerik:RadTimeBar>

    More information about TimeBar properties can be found here.

    I hope this helps.

    Regards,
    Polina
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top