FrameworkContentElement.ToolTipOpening Olay
Tanım
Öğe üzerinde herhangi bir araç ipucu açıldığında gerçekleşir.Occurs when any tooltip on the element is opened.
public:
event System::Windows::Controls::ToolTipEventHandler ^ ToolTipOpening;
public event System.Windows.Controls.ToolTipEventHandler ToolTipOpening;
member this.ToolTipOpening : System.Windows.Controls.ToolTipEventHandler
Public Custom Event ToolTipOpening As ToolTipEventHandler
Olay Türü
Açıklamalar
Araç ipuçlarını el ile açmak için olayların işleyicilerinin ilgili olayı işlenmiş olarak işaretlemesi gerekir.To manually open tooltips, handlers of the events should mark the relevant event as handled. Aksi takdirde, ToolTip özelliğin değeri otomatik olarak bir bağlam menüsünü açmak için kullanılacaktır.Otherwise, the value of the ToolTip property will be used to automatically open a context menu. Etkinliğin işlenmiş olarak işaretlenmesi, varsayılan eylemi etkin bir şekilde iptal eder ve özelliğin değerini sıfırlayıp yeni bir fırsat olabilir ToolTip ContextMenu .Marking the event handled will effectively cancel the default action, and could be an opportunity to reset the value of the ToolTip property and then open the new ContextMenu. Bu olay ToolTip , null bir başvuru ise veya başka bir şekilde ayarlanmadığında oluşturulmaz.Note that this event will not be raised if ToolTip is a null reference or otherwise unset.
Bu olay EventTrigger Style içinde olamaz.This event cannot be an EventTrigger in a style. Bunun nedeni, bu olayın tanımlayıcı alanının olay üzerinde Add/Remove yöntemlerini açığa çıkarmayan bir hizmetten uygulamayı yeniden kullanması nedeniyle oluşur.This is because the identifier field of this event re-uses an implementation from a service that does not expose add/remove methods on the event.
Yönlendirilmiş Olay BilgisiRouted Event Information
Tanımlayıcı alanıIdentifier field | ToolTipOpeningEvent |
Yönlendirme stratejisiRouting strategy | DirectDirect |
TemsilciDelegate | ToolTipEventHandler |