TimeSchedulerTaskDescriptor
Namespace: TagBites.WinSchedulers.Descriptors
Assembly: TagBites.WinSchedulers.dll
Provides information about tasks in a TagBites.WinSchedulers.TimeScheduler.
public sealed class TimeSchedulerTaskDescriptor : TagBites.WinSchedulers.ComponentModel.ComponentDescriptor
Constructors
TimeSchedulerTaskDescriptor(Type, Func<object, object>, Func<object, DateTimeInterval>)
Initializes a new instance of the TagBites.WinSchedulers.Descriptors.TimeSchedulerTaskDescriptor class with the specified task component type and delegates which provide task resource and interval.
public void TimeSchedulerTaskDescriptor(Type componentType, Func<object, object> resourceDelegate, Func<object, DateTimeInterval> intervalDelegate)
Result Type: void
Parameters
Type | Name | |
---|---|---|
Type | componentType | |
Func<object,object> | resourceDelegate | |
Func<object,DateTimeInterval> | intervalDelegate |
TimeSchedulerTaskDescriptor(Type, string, string)
Initializes a new instance of the TagBites.WinSchedulers.Descriptors.TimeSchedulerTaskDescriptor class with specified task component type, task resource member and task interval member.
public void TimeSchedulerTaskDescriptor(Type componentType, string resourceMember, string intervalMember)
Result Type: void
Parameters
Type | Name | |
---|---|---|
Type | componentType | Type of the component this descriptor is bound to. |
string | resourceMember | Member name that contains the task resource |
string | intervalMember | Member name that contains the task interval |
Properties
BorderColorDelegate
Gets or sets the delegate encapsulating a method that returns the task border color.
public Func<object, Color> BorderColorDelegate { get; set; }
Result Type: Func<object,Color>
BorderColorMember
Gets or sets the name of the member that returns the task border color.
public string BorderColorMember { get; set; }
Result Type: string
ColorDelegate
Gets or sets the delegate encapsulating a method that returns the task color.
public Func<object, Color> ColorDelegate { get; set; }
Result Type: Func<object,Color>
ColorMember
Gets or sets the name of the member that returns the task color.
public string ColorMember { get; set; }
Result Type: string
CustomDrawnDelegate
Gets or sets the delegate encapsulating a method that returns whether the task is custom drawn.
public Func<object, bool> CustomDrawnDelegate { get; set; }
Result Type: Func<object,bool>
CustomDrawnMember
Gets or sets the name of the member that returns whether the task is custom drawn.
public string CustomDrawnMember { get; set; }
Result Type: string
DescriptionDelegate
Gets or sets the delegate encapsulating a method that returns the description displayed by the task.
public Func<object, string> DescriptionDelegate { get; set; }
Result Type: Func<object,string>
DescriptionMember
Gets or sets the name of the member that returns the task displayed description.
public string DescriptionMember { get; set; }
Result Type: string
FontColorDelegate
Gets or sets the delegate encapsulating a method that returns the task font color.
public Func<object, Color> FontColorDelegate { get; set; }
Result Type: Func<object,Color>
FontColorMember
Gets or sets the name of the member that returns the task font color.
public string FontColorMember { get; set; }
Result Type: string
IntervalDelegate
Gets or sets the delegate encapsulating a method that returns the the task interval.
public Func<object, DateTimeInterval> IntervalDelegate { get; set; }
Result Type: Func<object,DateTimeInterval>
IntervalMember
Gets or sets the name of the member that returns the task interval.
public string IntervalMember { get; set; }
Result Type: string
MaximumHeightPercentageDelegate
Gets or sets the delegate encapsulating a method that returns the task maximum height in percentage of the task height.
public Func<object, double> MaximumHeightPercentageDelegate { get; set; }
Result Type: Func<object,double>
MaximumHeightPercentageMember
Gets or sets the name of the member that returns the task maximum height in percentage of the task height.
public string MaximumHeightPercentageMember { get; set; }
Result Type: string
ProgressDelegate
Gets or sets the delegate encapsulating a method that returns the task progress.
public Func<object, double> ProgressDelegate { get; set; }
Result Type: Func<object,double>
ProgressMember
Gets or sets the name of the member that returns the task progress.
public string ProgressMember { get; set; }
Result Type: string
ResourceDelegate
Gets or sets the delegate encapsulating a method that returns the the task resource.
public Func<object, object> ResourceDelegate { get; set; }
Result Type: Func<object,object>
ResourceMember
Gets or sets the name of the member that returns the task resource.
public string ResourceMember { get; set; }
Result Type: string
TextDelegate
Gets or sets the delegate encapsulating a method that returns the text displayed by the task.
public Func<object, string> TextDelegate { get; set; }
Result Type: Func<object,string>
TextMember
Gets or sets the name of the member that returns the text displayed by the task.
public string TextMember { get; set; }
Result Type: string