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

Status
Not open for further replies.

bdaily

Member
Outlook version
Outlook 2007
Email Account
Exchange Server
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.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
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>
 
Status
Not open for further replies.
Top