自定義彈窗的位置
添加Popup LocationChanged事件
this.radDesktopAlert1.Popup.LocationChanged += Popup_LocationChanged;
在事件裏自定義彈窗位置:窗體的右下角
private void Popup_LocationChanged(object sender, EventArgs e)
{
this.radDesktopAlert1.Popup.Location = new Point(this.Location.X + (this.Size.Width - this.radDesktopAlert1.Popup.DisplayRectangle.Width),
this.Location.Y + (this.Size.Height - this.radDesktopAlert1.Popup.DisplayRectangle.Height));
}
參考文檔: