Class SplashScreen
Implements a splash screen based on the "HID".
Inheritance
SplashScreen
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[TemplatePart(Name = "PART_CompanyLogo", Type = typeof(ContentControl))]
[TemplatePart(Name = "PART_Copyright", Type = typeof(TextBlock))]
[TemplatePart(Name = "PART_ProgressText", Type = typeof(TextBlock))]
[TemplatePart(Name = "PART_ProgressBar", Type = typeof(ProgressBar))]
[SuppressMessage("Design", "CA1001:Types that own disposable fields should be disposable", Justification = "busyIndicator is disposed by ProgressChanged().")]
public class SplashScreen : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IProgressNotification
Constructors
View SourceSplashScreen()
Initializes a new instance of the SplashScreen class.
Declaration
public SplashScreen()
Fields
View SourceCompanyLogoProperty
Defines the dependency property for the CompanyLogo.
Declaration
public static readonly DependencyProperty CompanyLogoProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
CopyrightProperty
Defines the dependency property for the Copyright.
Declaration
public static readonly DependencyProperty CopyrightProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
CurrentValueProperty
Defines the dependency property for the CurrentValue.
Declaration
public static readonly DependencyProperty CurrentValueProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
ProgressMaximumProperty
Defines the dependency property for the ProgressMaximum.
Declaration
public static readonly DependencyProperty ProgressMaximumProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
ProgressMinimumProperty
Defines the dependency property for the ProgressMinimum.
Declaration
public static readonly DependencyProperty ProgressMinimumProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
ProgressTextProperty
Defines the dependency property for the ProgressText.
Declaration
public static readonly DependencyProperty ProgressTextProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceCompanyLogo
Gets or sets the company logo.
Declaration
public object CompanyLogo { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Copyright
Gets or sets the copyright information.
Declaration
public string Copyright { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CurrentValue
Gets or sets the current progress value.
Declaration
public int CurrentValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ProgressMaximum
Gets or sets the progress maximum.
Declaration
public int ProgressMaximum { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ProgressMinimum
Gets or sets the progress minimum.
Declaration
public int ProgressMinimum { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ProgressText
Gets or sets the progress text.
Declaration
public string ProgressText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceProgressChanged(ProgressNotificationArgs)
Notify that the progress has been changed.
Declaration
public void ProgressChanged(ProgressNotificationArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| ProgressNotificationArgs | args | A notification data. |
ProgressChanged(string)
Declaration
public void ProgressChanged(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text |
Events
View SourceLoadingCompleted
Declaration
public event Action LoadingCompleted
Event Type
| Type | Description |
|---|---|
| Action |