Need help adding a background color to the compact list items in Month view.

Discussion in 'Calendar Printing Assistant' started by bdaily, Nov 6, 2012.

  1. bdaily

    bdaily

    Member
    I can change the color and shape of the all day items bar no problem but now what I need is to create a bar around each appointment item. In the content.xml the items are specified as CompactList whithin a grid but when I try to apply any background colors it is applied to the whole day space instead of just the list of appointments. Thanks ahead of time.
     
  2. Diane Poremsky

    Diane Poremsky

    Senior Member
    Re: Need help adding a background color to the compact list items in Month vi

    The easiest way to figure it out is to pick a template that has what you want and look at the code. However, the compact list can't be edited - you need to use list. Beyond that, I keep crashing CPAO. :(

    <DockPanel Row="0" Column="0" Style="LevelLeafBody"

    <SpanningAllDayAreaPlaceholder Orientation="Top" /
    <List Orientation="Fill" FontSize="7pt" ShowEmptyRow="true" MaxRowWrap="5" RowSize="14" TypeFilter="AppointmentsTasks"
    <Columns
    <Column Width="*" ShowDuplicates="True" Left="1" Top="2" Right="1" Bottom="2"

    <Sources
    <Source Name="CategorySymbols"/
    <Source Name="StartTime" Format="t" StartSeparator=""/
    <Source Name="EndTime" Format="t" StartSeparator="-"/
    <Source Name="Subject" StartSeparator=": "/
    <Source Name="Location" StartSeparator="(" EndSeparator=")"/
    </Sources
    </Column
    </Columns
    </List
    </DockPanel>
     

Share This Page