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

            CustomPopupPlacementCallback = new CustomPopupPlacementCallback(_GetTopLeftPointShowPointer);

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