• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Controls.ToolTip类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Windows.Controls.ToolTip的典型用法代码示例。如果您正苦于以下问题:C# ToolTip类的具体用法?C# ToolTip怎么用?C# ToolTip使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ToolTip类属于System.Windows.Controls命名空间,在下文中一共展示了ToolTip类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: RibbonPopup

 /// <summary>
 /// Default constructor
 /// </summary>
 public RibbonPopup()
 {
     Focusable = false;
     ToolTip = new ToolTip();
     (ToolTip as ToolTip).Template = null;
     AddHandler(RibbonControl.ClickEvent, new RoutedEventHandler(OnClick));
 }
开发者ID:apoorv-vijay-joshi,项目名称:FSE-2011-PDE,代码行数:10,代码来源:RibbonPopup.cs


示例2: ColorGridBox

        public ColorGridBox()
        {
            // Define the ItemsPanel template.
            FrameworkElementFactory factoryUnigrid =
                            new FrameworkElementFactory(typeof(UniformGrid));
            factoryUnigrid.SetValue(UniformGrid.ColumnsProperty, 8);
            ItemsPanel = new ItemsPanelTemplate(factoryUnigrid);

            // Add items to the ListBox.
            foreach (string strColor in strColors)
            {
                // Create Rectangle and add to ListBox.
                Rectangle rect = new Rectangle();
                rect.Width = 12;
                rect.Height = 12;
                rect.Margin = new Thickness(4);
                rect.Fill = (Brush)
                    typeof(Brushes).GetProperty(strColor).GetValue(null, null);
                Items.Add(rect);

                // Create ToolTip for Rectangle.
                ToolTip tip = new ToolTip();
                tip.Content = strColor;
                rect.ToolTip = tip;
            }
            // Indicate that SelectedValue is Fill property of Rectangle item.
            SelectedValuePath = "Fill";
        }
开发者ID:gawallsibya,项目名称:BIT_MFC-CShap-DotNet,代码行数:28,代码来源:ColorGridBox.cs


示例3: ShowActualWidthToolTip

        /// <summary>
        /// ShowActualWidthToolTip shows actual width of the left and right column near the GridSplitter column, so one can split two columns precisely
        /// </summary>
        /// <param name="gs"></param>
        /// <param name="tt"></param>
        // TODO: MainWindow.ShowActualWidthToolTip seems to be to tricky for reusability, maybe one find a more scaleable solution
        private void ShowActualWidthToolTip(GridSplitter gs, ToolTip tt)
        {
            // If the GridSplitter isn't positioned correctly in a seperate column between two other columns, drop functionality
            Grid parentGrid = gs.Parent as Grid;
            double? leftColumnActualWidth = null;
            double? rightColumnActualWidth = null;
            try 
            {
                leftColumnActualWidth = parentGrid.ColumnDefinitions[(Grid.GetColumn(gs) - 1)].ActualWidth;
                rightColumnActualWidth = parentGrid.ColumnDefinitions[Grid.GetColumn(gs) + 1].ActualWidth;
 
            }
            catch (ArgumentOutOfRangeException ex)
            {
                MessageBox.Show("Something went wrong in your GridSplitter layout. Splitter must been set in a column between the two columns who method tries to evaluate actual width. \n\n" + ex.Message, "Error", MessageBoxButton.OK);
            }

            tt.Content = String.Format("\u21E4 Width left {0} | {1} Width right \u21E5", leftColumnActualWidth, rightColumnActualWidth);
            tt.PlacementTarget = this;
            tt.Placement = PlacementMode.Relative;
            tt.HorizontalOffset = (Mouse.GetPosition(this).X - (tt.ActualWidth / 2));
            tt.VerticalOffset = (Mouse.GetPosition(this).Y + 10);
            tt.IsOpen = true;
            return;
        }
开发者ID:FluttershyDeveloper,项目名称:WpfDemo,代码行数:31,代码来源:MainWindow.xaml.cs


示例4: ToolTipController

 public ToolTipController()
 {
     myTip = new ToolTip();
     myTimer = new DispatcherTimer();
     myTimer.Interval = new TimeSpan( ToolTipService.GetInitialShowDelay( myTip ) * 10000 );
     myTimer.Tick += new EventHandler( OnTick );
 }
开发者ID:JackWangCUMT,项目名称:Plainion.GraphViz,代码行数:7,代码来源:ToolTipController.cs


示例5: Tower

        /*method*/
        public Tower(int _hp, int _atk, int _range, int _towerLevel, bool _isPlayer, Grid _grid, Grid _gridTopBar)
        {
            maxHP = _hp;
            hp = _hp;
            atk = _atk;
            range = _range;
            towerLevel = _towerLevel;
            _attackspeed = 100;//單位是10毫秒
            isEnemy = !_isPlayer;
            grid = _grid;
            LabelSetting();
            grid.Children.Add(ImgTower);
            _gridTopBar.Children.Add(lbHP_BG);
            _gridTopBar.Children.Add(lbTowerHP);

            if (isEnemy)
                _axis = 986;//lbTower.Margin.Right;
            else
                _axis = 108;//lbTower.Margin.Right + lbTower.Width;
            tp.Content = "等 級: " + TowerLevel.ToString() + "\n血 量: " + HP.ToString() + '\n' + "射 程: " + RANGE.ToString() + "\n攻擊力: " + ATK.ToString();
            tp.Background = Brushes.LightSteelBlue;
            tp.BorderBrush = Brushes.Black;
            tp.BorderThickness = new Thickness(2);
            ImgTower.ToolTip = tp;

            ToolTip tmp = new ToolTip();
            tmp.Background = Brushes.LightSteelBlue;
            tmp.BorderBrush = Brushes.Black;
            tmp.BorderThickness = new Thickness(2);
            tmp.Content = "血 量:" + HP.ToString() + '/' + maxHP.ToString();
            lbTowerHP.ToolTip = tmp;
            lbHP_BG.ToolTip = tmp;
        }
开发者ID:NCCUCS-Windows-Programming,项目名称:Side-Scroll-Tower-Defense-Game,代码行数:34,代码来源:Tower.cs


示例6: SimpleUIBoundToCustomer

        public SimpleUIBoundToCustomer()
        {
            var stack = new StackPanel();
            Content = stack;

            var textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("FirstName"));
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("LstName")); //purposefully misspelled
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding()); //context
            stack.Children.Add(textBlock);

            var checkbox = new CheckBox();
            checkbox.SetBinding(CheckBox.IsCheckedProperty, new Binding("asdfsdf")); //does not exist
            stack.Children.Add(checkbox);

            var tooltip = new ToolTip();
            tooltip.SetBinding(System.Windows.Controls.ToolTip.ContentProperty, new Binding("asdfasdasdf")); // does not exist
            stack.ToolTip = tooltip;

            var childUserControl = new SimpleUIBoundToCustomerByAttachedPorperty();
            stack.Children.Add(childUserControl);
        }
开发者ID:ssethi,项目名称:TestFrameworks,代码行数:28,代码来源:SimpleUIBoundToCustomer.cs


示例7: Undefined

        public Undefined(UndefinedV undefinedV)
        {
            InitializeComponent();

            reference = undefinedV;

            // listen to events from the controller
            //ViewController.ViewEvents ...

            // let the listener controller hear me :)
            ViewController.ViewListener.Listen(this);

            System.Windows.Controls.ToolTip toolTip1 = new System.Windows.Controls.ToolTip();
            toolTip1.Content = "Click to Change";
            this.ToolTip = toolTip1;

            if ((reference.Reference.Parent as OperationD).Children.Count == 1)
            {
                // the undefined is the only item in this structure
                // do not offer chance to be removed
                rightClickMenu.Items.Remove(delete);
            }

            if ((reference.Reference.Parent.Parent as ChoiceD).Children.Count == 1)
            {
                // do not allow remove choice
                rightClickMenu.Items.Remove(removeChoice);
            }
        }
开发者ID:adamashton,项目名称:VisualisingAndDesigningGrammars,代码行数:29,代码来源:Undefined.xaml.cs


示例8: AddFileToolBar

        void AddFileToolBar(ToolBarTray tray, int band, int index)
        {
            ToolBar toolbar = new ToolBar();
            toolbar.Band = band;
            toolbar.BandIndex = index;
            tray.ToolBars.Add(toolbar);

            RoutedUICommand[] comm = {
                ApplicationCommands.New, ApplicationCommands.Open, ApplicationCommands.Save
            };

            string[] strImages = {
                "NewDocumentHS.png", "OpenHS.png", "SaveHS.png"
            };

            for (int i = 0; i < 3; i++)
            {
                Button btn = new Button();
                btn.Command = comm[i];
                toolbar.Items.Add(btn);
                string fileName = Path.Combine(Directory.GetCurrentDirectory(), strImages[i]);
                Image img = new Image();
                img.Source = new BitmapImage(new Uri(fileName));
                img.Stretch = Stretch.None;
                btn.Content = img;

                ToolTip tip = new ToolTip();
                tip.Content = comm[i].Text;
                btn.ToolTip = tip;
            }

            CommandBindings.Add(new CommandBinding(ApplicationCommands.New, OnNew));
            CommandBindings.Add(new CommandBinding(ApplicationCommands.Open, OnOpen));
            CommandBindings.Add(new CommandBinding(ApplicationCommands.Save, OnSave));
        }
开发者ID:JianchengZh,项目名称:kasicass,代码行数:35,代码来源:FormatRichText.File.cs


示例9: CreateHyperLink

        /// <summary>
        /// Tworzy linka i ustawia jego właściwości
        /// </summary>
        /// <param name="linkText"></param>
        /// <param name="linkAdress"></param>
        /// <param name="toolTip"></param>
        /// <returns></returns>
        private static Hyperlink CreateHyperLink(string linkText, string linkAdress, string toolTip, FontWeight weight,
                                                 Brush linkColor, RoutedCommand command)
        {
            System.Windows.Controls.ToolTip tip = new ToolTip();
            tip.Content = toolTip;
            tip.StaysOpen = true;

            tip.Style = (Style) Application.Current.FindResource("YellowToolTipStyle");

            Hyperlink hyperlink = new Hyperlink(new Run(linkText))
                                      {
                                          NavigateUri = new Uri(linkAdress),
                                          TextDecorations = null,
                                          FontWeight = weight,
                                          //FontWeights.SemiBold,
                                          Foreground = linkColor,
                                          ToolTip = tip
                                      };

            hyperlink.Command = command;
            hyperlink.CommandParameter = linkAdress;

            ToolTipService.SetInitialShowDelay(hyperlink,700);
            ToolTipService.SetShowDuration(hyperlink,15000);

            //hyperlink.AddHandler(Hyperlink.RequestNavigateEvent,
            //                        new RequestNavigateEventHandler(HyperLinkRequestNavigate));
            return hyperlink;
        }
开发者ID:ksopyla,项目名称:blipface,代码行数:36,代码来源:StatusBindableTextBlock.cs


示例10: ShowToolTip

 private void ShowToolTip()
 {
     if (tooltip == null)
     {
         tooltip = new ToolTip();
         tooltip.StaysOpen = true;
         timer = new DispatcherTimer();
         timer.Interval = TimeSpan.FromSeconds(1.5);
         tooltip.PlacementTarget = Element;
         tooltip.Placement = PlacementMode.Right;
         timer.Tick += delegate
         {
             tooltip.IsOpen = false;
             timer.Stop();
         };
     }
     var list = ValidationService.GetErrors(Element);
     if (list.Count == 0) return;
     tooltip.Content = list.OrderBy(e => e.Priority).First().ErrorContent;
     if (tooltip.Content != null)
     {
         tooltip.IsOpen = true;
         timer.Start();
     }
 }
开发者ID:Mrding,项目名称:Ribbon,代码行数:25,代码来源:IValidateUI.cs


示例11: ColorGrid

        public ColorGrid()
        {
            bord = new Border();
            bord.BorderBrush = SystemColors.ControlDarkDarkBrush;
            bord.BorderThickness = new Thickness(1);
            AddVisualChild(bord);
            AddLogicalChild(bord);

            unigrid = new UniformGrid();
            unigrid.Background = SystemColors.WindowBrush;
            unigrid.Columns = xNum;
            bord.Child = unigrid;

            for (int y = 0; y < yNum; y++)
            {
                for (int x = 0; x < xNum; x++)
                {
                    Color clr = (Color) typeof(Colors).GetProperty(strColors[y, x]).GetValue(null, null);
                    cells[y, x] = new ColorCell(clr);
                    unigrid.Children.Add(cells[y, x]);

                    if (clr == SelectedColor)
                    {
                        cellSelected = cells[y, x];
                        cells[y, x].IsSelected = true;
                    }

                    ToolTip tip = new ToolTip();
                    tip.Content = strColors[y, x];
                    cells[y, x].ToolTip = tip;
                }
            }
        }
开发者ID:JianchengZh,项目名称:kasicass,代码行数:33,代码来源:ColorGrid.cs


示例12: TooltipController

        public TooltipController(UIElement element)
        {
            if (element == null)
                throw new ArgumentNullException("element");
            m_Element = element;

            element.MouseEnter += new MouseEventHandler(element_MouseEnter);
            element.MouseLeave += new MouseEventHandler(element_MouseLeave);
            element.MouseMove += new MouseEventHandler(element_MouseMove);

            m_AutoHideTimer = new Storyboard();
            m_AutoHideTimer.Duration = new Duration(new TimeSpan(0, 0, 0, 5, 0));
            m_AutoHideTimer.Completed += new EventHandler(m_AutoHideTimer_Completed);

            m_TooltipTimer = new Storyboard();
            m_TooltipTimer.Duration = new Duration(new TimeSpan(0, 0, 0, 1, 0));
            m_TooltipTimer.Completed += new EventHandler(m_TooltipTimer_Completed);

            m_ToolTip = new ToolTip();
            m_ToolTip.Padding = new Thickness(0);
            m_ToolTip.Opened += new RoutedEventHandler(m_ToolTip_Opened);
            m_ToolTip.Closed += new RoutedEventHandler(m_ToolTip_Closed);

            //m_ToolTip.VerticalOffset = 10;
            //m_ToolTip.HorizontalOffset = 10;
        }
开发者ID:SmallMobile,项目名称:ranet-uilibrary-olap.latest-unstabilized,代码行数:26,代码来源:TooltipController.cs


示例13: VisitInternal

        protected override void VisitInternal(BindingInformation info, FormResult result, object service)
        {
            IEditableService typedService = (IEditableService)service;

            FrameworkElement element = (FrameworkElement)result.EditorElement;

            string editablePropertyName = PropertyUtil<IEditableService>.GetPropertyName(s => s.Editable);
            string reasonPropertyName = PropertyUtil<IEditableService>.GetPropertyName(s => s.DisabledReason);

            Binding enabledBinding = new Binding(editablePropertyName);
            enabledBinding.Source = service;

            element.SetBinding(UIElement.IsEnabledProperty, enabledBinding);

            Binding tooltipVisibleBinding = new Binding(editablePropertyName);
            tooltipVisibleBinding.Source = service;
            tooltipVisibleBinding.Converter = new CustomBooleanToVisibilityConverter(true);

            Binding tooltipTextBinding = new Binding(reasonPropertyName);
            tooltipTextBinding.Source = service;

            ToolTip tooltip = new ToolTip();
            tooltip.SetBinding(UIElement.VisibilityProperty, tooltipVisibleBinding);
            tooltip.SetBinding(ContentControl.ContentProperty, tooltipTextBinding);

            element.ToolTip	= tooltip;
        }
开发者ID:RobinKu,项目名称:Cio,代码行数:27,代码来源:EditableServiceVisitor.cs


示例14: Person

        public Person(Canvas canvas, Graph graph, Point point, CurrentPerson cp, ToolTip tp)
        {
            image = new Image();
            var img = new BitmapImage();
            img.BeginInit();
            img.UriSource = new Uri("pack://application:,,,/program_final;component/Resources/miku.gif");
            img.EndInit();
            ImageBehavior.SetAnimatedSource(image, img);

            image.MouseLeftButtonUp += Person_MouseLeftButtonUp;
            image.ToolTip = tp;
            ToolTipService.SetInitialShowDelay(image, 0);
            ToolTipService.SetShowDuration(image, 60000);

            canvas.Children.Add(image);
            Canvas.SetZIndex(image, 1);
            point = graph.closestNode(point).getPoint();
            Canvas.SetLeft(image, point.X - 16);
            Canvas.SetTop(image, point.Y - 34);

            this.location = point;
            this.graph = graph;
            this.canvas = canvas;
            this.moving = false;
            this.cp = cp;
        }
开发者ID:Xyresic,项目名称:Miscellaneous,代码行数:26,代码来源:Person.cs


示例15: ToolTipService

        public ToolTipService(MapControl3D control)
        {
            m_control = control;
            m_hoverTileView = control.HoverTileView;

            m_content = new TileToolTipControl();
            m_content.DataContext = m_hoverTileView;

            var popup = new ToolTip();
            popup.Content = m_content;
            popup.Placement = System.Windows.Controls.Primitives.PlacementMode.Right;
            popup.HorizontalOffset = 4;
            popup.PlacementTarget = m_control;
            m_popup = popup;

            // Disable the animations, because we lose datacontext during fade-out animation.
            // We need to override the default values in the PlacementTarget control
            m_control.Resources.Add(SystemParameters.ToolTipAnimationKey, false);
            m_control.Resources.Add(SystemParameters.ToolTipFadeKey, false);
            m_control.Resources.Add(SystemParameters.ToolTipPopupAnimationKey, PopupAnimation.None);

            this.IsToolTipEnabled = true;

            m_control.GotMouseCapture += (s, e) => this.IsToolTipEnabled = false;
            m_control.LostMouseCapture += (s, e) => this.IsToolTipEnabled = true;
        }
开发者ID:tomba,项目名称:dwarrowdelf,代码行数:26,代码来源:ToolTipService.cs


示例16: OnTooltipPropertyChanged

 private static void OnTooltipPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     var frameworkElement = d as FrameworkElement;
     if (frameworkElement != null)
     {
         var header = (string) frameworkElement.GetValue(TooltipHeaderProperty);
         var content = (string) frameworkElement.GetValue(TooltipContentProperty);
         if (!string.IsNullOrEmpty(header) && !string.IsNullOrEmpty(content))
         {
             var tbHeader = new TextBlock
                            	{
                            		Text = header,
                            		TextWrapping = TextWrapping.Wrap,
                            		FontWeight = FontWeights.Bold,
                            		Margin = new Thickness(10, 5, 0, 3),
                            	};
             var tbContent = new TextBlock {Text = content, Margin = new Thickness(3), TextWrapping = TextWrapping.Wrap};
             var panel = new StackPanel {MaxWidth = 250};
             panel.Children.Add(tbHeader);
             panel.Children.Add(tbContent);
             var tooltip = new ToolTip {Content = panel};
             frameworkElement.ToolTip = tooltip;
             frameworkElement.SetValue(ToolTipService.InitialShowDelayProperty, 0);
             frameworkElement.SetValue(ToolTipService.ShowDurationProperty, int.MaxValue);
         }
     }
 }
开发者ID:steck,项目名称:VK-Leecher,代码行数:27,代码来源:TooltipAttachedBehaviuor.cs


示例17: GetContextMenuItem

        public Image GetContextMenuItem()
        {
            Image pb = new Image();
            pb.Width = 50;
            pb.Height = 50;
            pb.Stretch = System.Windows.Media.Stretch.Uniform;
            pb.Source = this.GetImage();
            //pb.Margin = new Padding(10);
            
            ContextMenu menu = new ContextMenu();

            MenuItem actions = new MenuItem();
            actions.Header = "Actions";

            menu.Items.Add(actions);

            foreach (string actionName in this.Template.Actions)
            {
                MenuItem displayAction = GameAction.Get(actionName).GetMenuItemForProp(new ActionEventArgs(Game.Instance.Player, null, this));

                if (displayAction != null)
                {
                    actions.Items.Add(displayAction);
                }
            }

            pb.ContextMenu = menu;

            ToolTip tooltip = new ToolTip();
            tooltip.Content = this.Template.Description;
            pb.ToolTip = tooltip;

            return pb;
        }
开发者ID:Tragedian-HLife,项目名称:HLife,代码行数:34,代码来源:Prop.cs


示例18: ProvideValue

		/// <summary>
		/// Performs a lookup for the defined <see cref="Title"/> and
		/// <see cref="Info"/> and creates the tooltip control.
		/// </summary>
		/// <returns>
		/// A <see cref="ToolTip"/> that contains the
		/// <see cref="InfoPopup"/> control.
		/// </returns>
		public override object ProvideValue(IServiceProvider serviceProvider)
		{
			//create the user control that 
			InfoPopup popup = new InfoPopup();


			if (!String.IsNullOrEmpty(Title))
			{
				//look up title - if the string is not a
				//resource key, use it directly
				var result = Resources.ResourceManager.GetObject(Title) ?? Title;
				popup.HeaderText = (string)result;
			}

			if (!String.IsNullOrEmpty(Body))
			{
				//look up body text - if the string is not a
				//resource key, use it directly
				var result = Resources.ResourceManager.GetObject(Body) ?? Body;
				popup.BodyText = (string)result;
			}

			//create tooltip and make sure it's not visible
			ToolTip tt = new ToolTip();
			tt.HasDropShadow = false;
			tt.BorderThickness = new Thickness(0);
			tt.Background = Brushes.Transparent;
			tt.Content = popup;

			return tt;
		}
开发者ID:dizzydezz,项目名称:jmm,代码行数:39,代码来源:Info.cs


示例19: MouseHover

        public void MouseHover(object sender, MouseEventArgs e)
        {
            var pos = textView.GetPositionFloor(e.GetPosition(textView) + textView.ScrollOffset);
            bool inDocument = pos.HasValue;
            if (inDocument)
            {
                TextLocation logicalPosition = pos.Value.Location;
                int offset = textView.Document.GetOffset(logicalPosition);

                var markersAtOffset = errorMarker.GetMarkersAtOffset(offset);
                ErrorMarker.TextMarker markerWithToolTip = markersAtOffset.FirstOrDefault(marker => marker.ToolTip != null);

                if (markerWithToolTip != null)
                {
                    if (toolTip == null)
                    {
                        toolTip = new ToolTip();
                        toolTip.Closed += ToolTipClosed;
                        toolTip.PlacementTarget = editor;
                        toolTip.Content = new TextBlock
                        {
                            Text = markerWithToolTip.ToolTip,
                            TextWrapping = TextWrapping.Wrap
                        };
                        toolTip.IsOpen = true;
                        e.Handled = true;
                    }
                }
            }
        }
开发者ID:osmedile,项目名称:TypeCobol,代码行数:30,代码来源:TooltipManager.cs


示例20: WebView

        public WebView()
        {
            Focusable = true;
            FocusVisualStyle = null;
            IsTabStop = true;

            Dispatcher.BeginInvoke((Action)(() => WebBrowser = this));

            Loaded += OnLoaded;
            Unloaded += OnUnloaded;

            GotKeyboardFocus += OnGotKeyboardFocus;
            LostKeyboardFocus += OnLostKeyboardFocus;

            IsVisibleChanged += OnIsVisibleChanged;

            ToolTip = toolTip = new ToolTip();
            toolTip.StaysOpen = true;
            toolTip.Visibility = Visibility.Collapsed;
            toolTip.Closed += OnTooltipClosed;

            BackCommand = new DelegateCommand(Back, () => CanGoBack);
            ForwardCommand = new DelegateCommand(Forward, () => CanGoForward);
            ReloadCommand = new DelegateCommand(Reload, () => CanReload);

            managedCefBrowserAdapter = new ManagedCefBrowserAdapter(this);
            managedCefBrowserAdapter.CreateOffscreenBrowser(BrowserSettings ?? new BrowserSettings());

            disposables.Add(managedCefBrowserAdapter);

            disposables.Add(new DisposableEventWrapper(this, ActualHeightProperty, OnActualSizeChanged));
            disposables.Add(new DisposableEventWrapper(this, ActualWidthProperty, OnActualSizeChanged));
        }
开发者ID:hohogpb,项目名称:CefSharp,代码行数:33,代码来源:WebView.cs



注:本文中的System.Windows.Controls.ToolTip类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Controls.TreeView类代码示例发布时间:2022-05-26
下一篇:
C# Controls.ToolBar类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap