SECI
1
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Sample_Environment_Control_Interface
UserInterface
SeciControls
Navigation
NavBarButton.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Text;
5
using
System.Windows;
6
using
System.Windows.Controls;
7
8
namespace
SeciControls
9
{
10
public
class
NavBarButton
: Button
11
{
12
public
static
DependencyProperty
IsSelectedProperty
;
13
public
static
DependencyProperty
ShowErrorProperty
;
14
public
static
DependencyProperty
ShowWarningProperty
;
15
public
static
DependencyProperty
DefaultNameProperty
;
16
17
static
NavBarButton
()
18
{
19
IsSelectedProperty
= DependencyProperty.Register(
"IsSelected"
, typeof(
bool
),
20
typeof(
NavBarButton
));
21
ShowErrorProperty
= DependencyProperty.Register(
"ShowError"
, typeof(
bool
),
22
typeof(
NavBarButton
));
23
ShowWarningProperty
= DependencyProperty.Register(
"ShowWarning"
, typeof(
bool
),
24
typeof(
NavBarButton
));
25
DefaultNameProperty
= DependencyProperty.Register(
"DefaultName"
, typeof(String),
26
typeof(
NavBarButton
));
27
}
28
29
public
bool
IsSelected
30
{
31
get
{
return
(
bool
)GetValue(
IsSelectedProperty
); }
32
set { SetValue(
IsSelectedProperty
, value); }
33
}
34
35
public
bool
ShowError
36
{
37
get
{
return
(
bool
)GetValue(
ShowErrorProperty
); }
38
set { SetValue(
ShowErrorProperty
, value); }
39
}
40
41
public
bool
ShowWarning
42
{
43
get
{
return
(
bool
)GetValue(
ShowWarningProperty
); }
44
set { SetValue(
ShowWarningProperty
, value); }
45
}
46
47
public
String
DefaultName
48
{
49
get
{
return
GetValue(
DefaultNameProperty
).ToString(); }
50
set { SetValue(
DefaultNameProperty
, value); }
51
}
52
}
53
}
SeciControls.NavBarButton.IsSelected
bool IsSelected
Definition:
NavBarButton.cs:30
SeciControls.NavBarButton.DefaultName
String DefaultName
Definition:
NavBarButton.cs:48
SeciControls.NavBarButton
Definition:
NavBarButton.cs:10
SeciControls.NavBarButton.NavBarButton
static NavBarButton()
Definition:
NavBarButton.cs:17
SeciControls.NavBarButton.DefaultNameProperty
static DependencyProperty DefaultNameProperty
Definition:
NavBarButton.cs:15
SeciControls.NavBarButton.ShowErrorProperty
static DependencyProperty ShowErrorProperty
Definition:
NavBarButton.cs:13
SeciControls.NavBarButton.ShowWarning
bool ShowWarning
Definition:
NavBarButton.cs:42
SeciControls.NavBarButton.ShowWarningProperty
static DependencyProperty ShowWarningProperty
Definition:
NavBarButton.cs:14
SeciControls.NavBarButton.ShowError
bool ShowError
Definition:
NavBarButton.cs:36
SeciControls.NavBarButton.IsSelectedProperty
static DependencyProperty IsSelectedProperty
Definition:
NavBarButton.cs:12
Generated on Mon Nov 20 2017 21:59:05 for SECI by
1.8.5