private static void OnTextBrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; Brush brush = e.NewValue as Brush; rtext.DisplayText.Foreground = brush; }
private static void OnTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; string text = (string)e.NewValue; rtext.DisplayText.Text = text; rtext.DisplayTextBlur.Text = text; }
private static void OnShadowDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; double direction = (double)e.NewValue; DropShadowEffect effect = rtext.DisplayText.Effect as DropShadowEffect; effect.Direction = direction; }
private static void OnShadowOpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; double opacity = (double)e.NewValue; DropShadowEffect effect = rtext.DisplayText.Effect as DropShadowEffect; effect.Opacity = opacity; }
private static void OnShadowColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; Color color = (Color)e.NewValue; DropShadowEffect effect = rtext.DisplayText.Effect as DropShadowEffect; effect.Color = color; }
private static void OnShadowBlurRadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; double radius = (double)e.NewValue; DropShadowEffect effect = rtext.DisplayText.Effect as DropShadowEffect; effect.BlurRadius = radius; }
private static void OnTextAlignmentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; TextAlignment align = (TextAlignment)e.NewValue; rtext.DisplayText.TextAlignment = align; rtext.DisplayTextBlur.TextAlignment = align; }
private static void OnTextWrappingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; TextWrapping wrap = (TextWrapping)e.NewValue; rtext.DisplayText.TextWrapping = wrap; rtext.DisplayTextBlur.TextWrapping = wrap; }
private static void OnTextStylePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; FontStyle style = (FontStyle)e.NewValue; rtext.DisplayText.FontStyle = style; rtext.DisplayTextBlur.FontStyle = style; }
private static void OnTextWeightPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; FontWeight weight = (FontWeight)e.NewValue; rtext.DisplayText.FontWeight = weight; rtext.DisplayTextBlur.FontWeight = weight; }
private static void OnTextFamilyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; FontFamily font = (FontFamily)e.NewValue; rtext.DisplayText.FontFamily = font; rtext.DisplayTextBlur.FontFamily = font; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.RootVisual = ((System.Windows.Controls.Grid)(target)); return; case 3: this.DocMan1 = ((Telerik.Windows.Controls.RadDocking)(target)); return; case 4: this.projectBox = ((System.Windows.Controls.ListBox)(target)); #line 53 "..\..\..\ProjectListPage\ProjectListPageForZHGL.xaml" this.projectBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.projectBox_SelectionChanged); #line default #line hidden return; case 5: this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target)); return; case 6: this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target)); return; case 7: this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target)); return; case 8: this.holder = ((Esri.ArcGISRuntime.Controls.OverlayItemsControl)(target)); return; case 9: this.mapTip = ((iS3.Client.Controls.MapTip)(target)); return; case 10: this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target)); return; case 11: this.MapCoordsTB = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
private static void OnTextSizePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RaisedText rtext = d as RaisedText; if (!double.IsNaN((double)e.NewValue)) { double size = (double)e.NewValue; rtext.DisplayText.FontSize = size; rtext.DisplayTextBlur.FontSize = size; } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 2: this.RootVisual = ((System.Windows.Controls.Grid)(target)); return; case 3: this.TopMenuGrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.PlatformTitle = ((iS3.Client.Controls.RaisedText)(target)); return; case 5: this.DocMan = ((Xceed.Wpf.AvalonDock.DockingManager)(target)); return; case 6: this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target)); return; case 7: this.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target)); return; case 8: this.projectBox = ((System.Windows.Controls.ListBox)(target)); #line 81 "..\..\..\ProjectListPage\ProjectListNormal.xaml" this.projectBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.projectBox_SelectionChanged); #line default #line hidden return; case 9: this.MapPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target)); return; case 10: this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target)); return; case 11: this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target)); return; case 12: this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target)); return; case 13: this.mapTip = ((System.Windows.Controls.Border)(target)); return; case 14: this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target)); return; case 15: this.MapCoordsTB = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ProjectTitle1 = ((iS3.Client.Controls.RaisedText)(target)); return; case 2: this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target)); return; case 3: this.LoginElement = ((System.Windows.Controls.Border)(target)); return; case 4: this.LoginNameTB = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.LoginPasswordTB = ((System.Windows.Controls.PasswordBox)(target)); return; case 6: this.LoginButton = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\..\LoginPage\LoginPageNormal.xaml" this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LoginButton_Click); #line default #line hidden return; case 7: this.DBConfig = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\..\LoginPage\LoginPageNormal.xaml" this.DBConfig.Click += new System.Windows.RoutedEventHandler(this.DBConfig_Click); #line default #line hidden return; case 8: this.DBConfigElement = ((System.Windows.Controls.Border)(target)); return; case 9: this.DBAddress_TB = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.DBPort_TB = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.CommitButton = ((System.Windows.Controls.Button)(target)); #line 83 "..\..\..\LoginPage\LoginPageNormal.xaml" this.CommitButton.Click += new System.Windows.RoutedEventHandler(this.Commit_Click); #line default #line hidden return; case 12: this.CancelButoon = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\LoginPage\LoginPageNormal.xaml" this.CancelButoon.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RootVisual = ((System.Windows.Controls.Grid)(target)); return; case 2: this.TopMenuGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target)); return; case 4: #line 79 "..\..\..\MainFrame\MainFrameNormal.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Home_Click); #line default #line hidden return; case 5: #line 87 "..\..\..\MainFrame\MainFrameNormal.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Python_Click); #line default #line hidden return; case 6: this.DocMan = ((Xceed.Wpf.AvalonDock.DockingManager)(target)); return; case 7: this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target)); return; case 8: this.addPanel = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target)); return; case 9: this.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target)); return; case 10: this.ViewPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target)); return; case 11: this.DataPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target)); return; case 12: this.ipcHost = ((iS3.Python.IronPythonControl)(target)); return; case 13: this.ComonObjsViewHolder = ((iS3.Client.CommonObjsView)(target)); return; case 14: this.DomainTreeHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target)); return; case 15: this.ToolsPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target)); return; case 16: this.objViewHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target)); return; case 17: this.objectView = ((iS3.Client.Controls.ObjectView)(target)); return; case 18: this.ToolsHolder = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target)); return; } this._contentLoaded = true; }