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
1465
Appointments shown in bold
posted

Currently appointments in the DayView and Month view appear in bold, I have found that this is because the activity template sets it to bold. Is there an easy way to switch the bold off, or do you have to hack the template to switch the bold off.

Parents
No Data
Reply
  • 28407
    Verified Answer
    posted

    HI,

     The FontWeight is hard coded in the Template. You could retemplate

    Another option

      You could wire up the AppointmentPresenter's loaded event and get the TextBlock and modify its value.

     

     <Style TargetType="{x:Type igPrim:AppointmentPresenter}"> 

             <EventSetter Event="Loaded" Handler="AppointmentPresenter_Loaded"/>   

      </Style>  

     private void AppointmentPresenter_Loaded(object sender, RoutedEventArgs e)    

         {

                TextBlock tb = Infragistics.Windows.Utilities.GetDescendantFromType(sender as DependencyObject, typeof(TextBlock), false) as TextBlock;

                tb.FontWeight = FontWeights.Heavy;

          }

     Please let me know if you need further assistance regarding this issue.

Children