SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
SeciControls.BlockDisplay Class Reference

Interaction logic for BlockDisplay.xaml More...

Inheritance diagram for SeciControls.BlockDisplay:
Inheritance graph
Collaboration diagram for SeciControls.BlockDisplay:
Collaboration graph

Public Member Functions

 BlockDisplay ()
 
void SetBlocksToShow (String[] names)
 
void UpdateControl ()
 

Static Public Member Functions

static Boolean GetIsBigFonts (UIElement element)
 
static void SetIsBigFonts (UIElement element, Boolean value)
 

Static Public Attributes

static readonly DependencyProperty IsBigFontsProperty
 

Private Member Functions

Border createBorder ()
 
TextBlock createTextBlock (String text)
 
void setupBlocks ()
 
WrapPanel setupWrapPanel (String name)
 

Private Attributes

List< TextBlock > _blocks = new List<TextBlock>()
 
Brush _brushDisabled = new SolidColorBrush(Colors.LightGray)
 
Brush _brushNormal = new SolidColorBrush(Colors.Black)
 
Brush _brushOutOfRange = new SolidColorBrush(Colors.Red)
 
List< String > _infoToDisplay = new List<String>()
 

Detailed Description

Interaction logic for BlockDisplay.xaml

Definition at line 20 of file BlockDisplay.xaml.cs.

Constructor & Destructor Documentation

SeciControls.BlockDisplay.BlockDisplay ( )
inline

Definition at line 44 of file BlockDisplay.xaml.cs.

Member Function Documentation

Border SeciControls.BlockDisplay.createBorder ( )
inlineprivate

Definition at line 202 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.setupBlocks().

TextBlock SeciControls.BlockDisplay.createTextBlock ( String  text)
inlineprivate

Definition at line 209 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.setupBlocks().

static Boolean SeciControls.BlockDisplay.GetIsBigFonts ( UIElement  element)
inlinestatic

Definition at line 37 of file BlockDisplay.xaml.cs.

References SeciControls.BlockDisplay.IsBigFontsProperty.

void SeciControls.BlockDisplay.SetBlocksToShow ( String[]  names)
inline

Definition at line 49 of file BlockDisplay.xaml.cs.

References SeciControls.BlockDisplay._infoToDisplay, and SeciControls.BlockDisplay.setupBlocks().

Here is the call graph for this function:

static void SeciControls.BlockDisplay.SetIsBigFonts ( UIElement  element,
Boolean  value 
)
inlinestatic

Definition at line 33 of file BlockDisplay.xaml.cs.

References SeciControls.BlockDisplay.IsBigFontsProperty.

void SeciControls.BlockDisplay.setupBlocks ( )
inlineprivate
WrapPanel SeciControls.BlockDisplay.setupWrapPanel ( String  name)
inlineprivate

Definition at line 217 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.setupBlocks().

void SeciControls.BlockDisplay.UpdateControl ( )
inline

Member Data Documentation

List<TextBlock> SeciControls.BlockDisplay._blocks = new List<TextBlock>()
private

Definition at line 26 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.UpdateControl().

Brush SeciControls.BlockDisplay._brushDisabled = new SolidColorBrush(Colors.LightGray)
private

Definition at line 25 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.UpdateControl().

Brush SeciControls.BlockDisplay._brushNormal = new SolidColorBrush(Colors.Black)
private

Definition at line 23 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.UpdateControl().

Brush SeciControls.BlockDisplay._brushOutOfRange = new SolidColorBrush(Colors.Red)
private

Definition at line 24 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.UpdateControl().

List<String> SeciControls.BlockDisplay._infoToDisplay = new List<String>()
private
readonly DependencyProperty SeciControls.BlockDisplay.IsBigFontsProperty
static
Initial value:
= DependencyProperty.RegisterAttached("IsBigFonts", typeof(Boolean),
typeof(BlockDisplay), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits))

Definition at line 30 of file BlockDisplay.xaml.cs.

Referenced by SeciControls.BlockDisplay.GetIsBigFonts(), and SeciControls.BlockDisplay.SetIsBigFonts().


The documentation for this class was generated from the following file: