Class ViewPanel
Represents a class which holds schedule header cell, view header cell and view control.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.SfScheduler.WPF.dll
Syntax
public class ViewPanel : Panel, IDisposable
Constructors
ViewPanel(SfScheduler)
Initializes a new instance of the ViewPanel class.
Declaration
public ViewPanel(SfScheduler scheduler)
Parameters
| Type | Name | Description |
|---|---|---|
| SfScheduler | scheduler | the schedule. |
Properties
HeaderControl
Gets or sets the header row control.
Declaration
public ViewHeaderControl HeaderControl { get; set; }
Property Value
| Type |
|---|
| ViewHeaderControl |
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | finalSize | The final size. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | The size. |
Dispose()
Disposes all the resources used by the ViewPanel class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the ViewPanel class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | Indicates whether the call is from Dispose method or from a System.GC.SuppressFinalize(System.Object). |
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | availableSize | The available size. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | The size. |