Example #1
0
 private void findElementsFromTemplate()
 {
     SimpleSymbolOption                 = GetTemplateChild("SimpleSymbolOption") as RadioButton;
     ClassBreaksOption                  = GetTemplateChild("ClassBreaksOption") as RadioButton;
     PredefinedColorsOption             = GetTemplateChild("PredefinedColorsOption") as RadioButton;
     CustomColorsOption                 = GetTemplateChild("CustomColorsOption") as RadioButton;
     ClassBreaksSlider                  = GetTemplateChild("ClassBreaksSlider") as MultiThumbSlider;
     MinTextBlock                       = GetTemplateChild("MinTextBlock") as TextBlock;
     MinTextBox                         = GetTemplateChild("MinTextBox") as TextBox;
     MaxTextBlock                       = GetTemplateChild("MaxTextBlock") as TextBlock;
     MaxTextBox                         = GetTemplateChild("MaxTextBox") as TextBox;
     AddRangeButton                     = GetTemplateChild("AddRangeButton") as Button;
     DeleteRangeButton                  = GetTemplateChild("DeleteRangeButton") as Button;
     PreviousRangeButton                = GetTemplateChild("PreviousRangeButton") as Button;
     NextRangeButton                    = GetTemplateChild("NextRangeButton") as Button;
     NumericFields                      = GetTemplateChild("NumericFields") as ComboBox;
     DefaultSymbolConfigContainer       = GetTemplateChild("DefaultSymbolConfigContainer") as ContentControl;
     ClassBreakSymbologyConfigContainer = GetTemplateChild("ClassBreakSymbologyConfigContainer") as ContentControl;
     ClassifySection                    = GetTemplateChild("ClassifySection") as ContentControl;
     FillSymbolSourceTypeSection        = GetTemplateChild("FillSymbolSourceTypeSection") as ContentControl;
 }
 private void findElementsFromTemplate()
 {
     SimpleSymbolOption = GetTemplateChild("SimpleSymbolOption") as RadioButton;
     ClassBreaksOption = GetTemplateChild("ClassBreaksOption") as RadioButton;
     PredefinedColorsOption = GetTemplateChild("PredefinedColorsOption") as RadioButton;
     CustomColorsOption = GetTemplateChild("CustomColorsOption") as RadioButton;
     ClassBreaksSlider = GetTemplateChild("ClassBreaksSlider") as MultiThumbSlider;
     MinTextBlock = GetTemplateChild("MinTextBlock") as TextBlock;
     MinTextBox = GetTemplateChild("MinTextBox") as TextBox;
     MaxTextBlock = GetTemplateChild("MaxTextBlock") as TextBlock;
     MaxTextBox = GetTemplateChild("MaxTextBox") as TextBox;
     AddRangeButton = GetTemplateChild("AddRangeButton") as Button;
     DeleteRangeButton = GetTemplateChild("DeleteRangeButton") as Button;
     PreviousRangeButton = GetTemplateChild("PreviousRangeButton") as Button;
     NextRangeButton = GetTemplateChild("NextRangeButton") as Button;
     NumericFields = GetTemplateChild("NumericFields") as ComboBox;
     DefaultSymbolConfigContainer = GetTemplateChild("DefaultSymbolConfigContainer") as ContentControl;
     ClassBreakSymbologyConfigContainer = GetTemplateChild("ClassBreakSymbologyConfigContainer") as ContentControl;
     ClassifySection = GetTemplateChild("ClassifySection") as ContentControl;
     FillSymbolSourceTypeSection = GetTemplateChild("FillSymbolSourceTypeSection") as ContentControl;
 }