The DialogContentControl class represents middle layer
control which is used by the C1Scheduler control to host
dialog templates inside of Window for desktop applications
or PopupWindow for XBAP applications.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
[TemplatePartAttribute(Name = "PART_DialogCustomButton", Type = typeof(Button))] [TemplatePartAttribute(Name = "PART_DialogSaveButton", Type = typeof(Button))] [TemplatePartAttribute(Name = "PART_DialogCancelButton", Type = typeof(Button))] [TemplatePartAttribute(Name = "PART_DialogOkButton", Type = typeof(Button))] public class DialogContentControl : ContentControl |
Visual Basic (Declaration) |
---|
<TemplatePartAttribute(Name := "PART_DialogCustomButton", Type := GetType(Button))> _ <TemplatePartAttribute(Name := "PART_DialogSaveButton", Type := GetType(Button))> _ <TemplatePartAttribute(Name := "PART_DialogCancelButton", Type := GetType(Button))> _ <TemplatePartAttribute(Name := "PART_DialogOkButton", Type := GetType(Button))> _ Public Class DialogContentControl _ Inherits ContentControl |
Remarks
Note that all xaml DataTemplates, such as the ShowRemindersTemplate
and EditAppointmentTemplate, should refer to this class instead of the Window class
to properly work in XBAP applications.
Inheritance Hierarchy
System..::..Object
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ContentControl
C1.WPF.C1Schedule..::..DialogContentControl
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ContentControl
C1.WPF.C1Schedule..::..DialogContentControl