/// <summary>
        /// Constructor.
        /// </summary>
        public Callout()
        {
            InitializeComponent();

            CustomPopupPlacementCallback = new CustomPopupPlacementCallback(_GetTopLeftPointShowPointer);

            _GetDimentionsFromResources();
        }
示例#2
0
 public DynamoToolTip()
 {
     Placement = PlacementMode.Custom;
     CustomPopupPlacementCallback = new CustomPopupPlacementCallback(PlacementCallback);
 }
 /// <summary>
 ///     Constructor.
 /// </summary>
 public RibbonToolTip()
 {
     Loaded += new RoutedEventHandler(OnLoaded);
     CustomPopupPlacementCallback = new CustomPopupPlacementCallback(PlaceRibbonToolTip);
 }
 static CustomPopupPlacementCallbackHelper()
 {
     LargePopupCallback =
         (size, targetSize, offset) => new[] {new CustomPopupPlacement(new Point(), PopupPrimaryAxis.Horizontal)};
 }
示例#5
0
 public YT_Popup()
 {
     CustomPopupPlacementCallback = new CustomPopupPlacementCallback(Location);
 }
示例#6
0
 public DynamoToolTip()
 {
     Placement = PlacementMode.Custom;
     CustomPopupPlacementCallback = new CustomPopupPlacementCallback(PlacementCallback);
 }
示例#7
0
 static CustomPopupPlacementCallbackHelper()
 {
     LargePopupCallback =
         (size, targetSize, offset) => new[] { new CustomPopupPlacement(new Point(), PopupPrimaryAxis.Horizontal) };
 }
示例#8
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public RibbonToolTip()
 {
     Loaded += new RoutedEventHandler(OnLoaded);
     CustomPopupPlacementCallback = new CustomPopupPlacementCallback(PlaceRibbonToolTip);
 }
示例#9
0
		public RibbonToolTip()
		{
			Placement = PlacementMode.Custom;
			CustomPopupPlacementCallback = new CustomPopupPlacementCallback(PopupPlacement);
		}