public TabularFisheye() {
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			calendar = new CalendarNode();
			Layer.AddChild(calendar);

			this.PanEventHandler = null;
			this.ZoomEventHandler = null;

			// Since we don't zoom, we will use grid-fitted text
			// for the highest possible quality.
			this.GridFitText = true;
		}
        public TabularFisheye()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            calendar = new CalendarNode();
            Layer.AddChild(calendar);

            this.PanEventHandler  = null;
            this.ZoomEventHandler = null;

            // Since we don't zoom, we will use grid-fitted text
            // for the highest possible quality.
            this.GridFitText = true;
        }
 private bool AreModelsEqual(CalendarNode a, CalendarCellModel b)
 {
     return(a.RowIndex == b.RowIndex &&
            a.ColumnIndex == b.ColumnIndex &&
            a.Label == b.Label);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarCellInfoBaseAutomationPeer"/> class.
 /// </summary>
 /// <param name="parentPeer">Parent CalendarViewHostAutomationPeer.</param>
 /// <param name="cellModel">The model of the calendar cell.</param>
 internal CalendarCellInfoBaseAutomationPeer(CalendarViewHostAutomationPeer parentPeer, CalendarNode cellModel) : base()
 {
     this.CalendarViewHostPeer = parentPeer;
     this.CellNode             = cellModel;
 }
Exemple #5
0
 private void UpdateReader(CalendarNode node)
 {
     Name = node.Name;
     NodeType = node.Type;
     Value = node.Value;
 }