public ShowAtPosition ( Point p, System.Windows.Media.Brush cl = null, string FilePath = "" ) : void | ||
p | Point | |
cl | System.Windows.Media.Brush | |
FilePath | string | |
return | void |
public void ShowAtPosition(Point p, Brush cl = null, string FilePath = "") {
this.Background = cl ?? Brushes.Red;
this.Left = p.X - this.Width;
this.Top = p.Y - this.Height;
this.Visibility = System.Windows.Visibility.Visible;
//ExplorerBrowser.PopFX = (int)this.Left;
//ExplorerBrowser.PopFY = (int)this.Top;
}