Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1770
shrink spacing between months
posted

Hello. I'm using the XamCalendar with MinCalendarMode property set to "Months". How can the white space between the month text be shrunk? Thanks

Parents
  • 34510
    Offline posted

    Hello Kris,

    You can shrink the white space by shrinking the Width and Height of the CalendarItemGroup control.  The CalendarItemGroup control equally spaces out the months across the group so if you give it less space, the individual month text elements won't get as much space. 

    <ig:XamCalendar MinCalendarMode="Months">
        <ig:XamCalendar.Resources>
            <Style TargetType="igPrim:CalendarItemGroup">
                <Setter Property="Width" Value="125"/>
                <Setter Property="Height" Value="100"/>
            </Style>
        </ig:XamCalendar.Resources>
    </ig:XamCalendar>

     

Reply Children