Calendar .NET (v.2.2.0.0)  
Welcome to Calendar .NET Samples site!
Calendar Event Bar
Getting Started
  Overview
  What`s new
Samples
  Getting Started!
  Data Binding
  Event Bar
  Handling Events
  Spanning Items
  Localization
  Other Samples
Contact us!
  Support Forum
  Email Us

Calendar Event Bar

Calendar.NET Control event bar shows a small bar for each event that displays actual time the event starts and finishes. You can select if you want to render it at all or you can define colors. The bar is rendered for Month, Week, Day and Task views.


Overview

You can change event bar properties either in design time or in runtime using EventBarShow, EventBarFilledColor, EventBarEmptyColor properties:

  C#   VB  
 

  using System.Drawing;
  ........

  CalendarCtrl.EventBarShow = true;
  CalendarCtrl.EventBarEmptyColor = Color.White;
  CalendarCtrl.EventBarFilledColor = Color.Blue;

  Imports System.Drawing
  ........

  CalendarCtrl.EventBarShow = True
  CalendarCtrl.EventBarEmptyColor = Color.White
  CalendarCtrl.EventBarFilledColor = Color.Blue


[View C# Code]   [View VB.NET Code]



Example source codes are included in Control Download.
 

Copyright 2005 Mediachase. All rights reserved.