VisualStyleRenderer.HitTestBackground Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir noktanın geçerli görsel stili öğesinin arka planında bulunup bulunmadığını belirler.
Aşırı Yüklemeler
HitTestBackground(IDeviceContext, Rectangle, IntPtr, Point, HitTestOptions) |
Noktanın geçerli görsel stili öğesinin arka planında ve belirtilen bölgede yer alıp almadığını belirten bir isabet testi kodu döndürür. |
HitTestBackground(IDeviceContext, Rectangle, Point, HitTestOptions) |
Bir noktanın geçerli görsel stili öğesinin arka planında bulunup bulunmadığını belirten bir isabet testi kodu döndürür. |
HitTestBackground(Graphics, Rectangle, Region, Point, HitTestOptions) |
Noktanın geçerli görsel stili öğesinin arka planında ve belirtilen sınırlar içinde yer alıp almadığını belirten bir isabet testi kodu döndürür. |
HitTestBackground(IDeviceContext, Rectangle, IntPtr, Point, HitTestOptions)
Noktanın geçerli görsel stili öğesinin arka planında ve belirtilen bölgede yer alıp almadığını belirten bir isabet testi kodu döndürür.
public:
System::Windows::Forms::VisualStyles::HitTestCode HitTestBackground(System::Drawing::IDeviceContext ^ dc, System::Drawing::Rectangle backgroundRectangle, IntPtr hRgn, System::Drawing::Point pt, System::Windows::Forms::VisualStyles::HitTestOptions options);
public System.Windows.Forms.VisualStyles.HitTestCode HitTestBackground (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle backgroundRectangle, IntPtr hRgn, System.Drawing.Point pt, System.Windows.Forms.VisualStyles.HitTestOptions options);
member this.HitTestBackground : System.Drawing.IDeviceContext * System.Drawing.Rectangle * nativeint * System.Drawing.Point * System.Windows.Forms.VisualStyles.HitTestOptions -> System.Windows.Forms.VisualStyles.HitTestCode
Public Function HitTestBackground (dc As IDeviceContext, backgroundRectangle As Rectangle, hRgn As IntPtr, pt As Point, options As HitTestOptions) As HitTestCode
Parametreler
Bu IDeviceContext işlem kullanacaktır.
- hRgn
-
IntPtr
nativeint
Arka plandaki isabet testi alanının sınırlarını belirten bir Region Windows tutamacı.
- options
- HitTestOptions
Değerlerin bit düzeyinde birleşimi HitTestOptions .
Döndürülenler
HitTestCode Geçerli görsel stili öğesinin arka planında nerede pt
bulunduğunu açıklayan bir.
Özel durumlar
dc
, null
değeridir.
Şunlara uygulanır
HitTestBackground(IDeviceContext, Rectangle, Point, HitTestOptions)
Bir noktanın geçerli görsel stili öğesinin arka planında bulunup bulunmadığını belirten bir isabet testi kodu döndürür.
public:
System::Windows::Forms::VisualStyles::HitTestCode HitTestBackground(System::Drawing::IDeviceContext ^ dc, System::Drawing::Rectangle backgroundRectangle, System::Drawing::Point pt, System::Windows::Forms::VisualStyles::HitTestOptions options);
public System.Windows.Forms.VisualStyles.HitTestCode HitTestBackground (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle backgroundRectangle, System.Drawing.Point pt, System.Windows.Forms.VisualStyles.HitTestOptions options);
member this.HitTestBackground : System.Drawing.IDeviceContext * System.Drawing.Rectangle * System.Drawing.Point * System.Windows.Forms.VisualStyles.HitTestOptions -> System.Windows.Forms.VisualStyles.HitTestCode
Public Function HitTestBackground (dc As IDeviceContext, backgroundRectangle As Rectangle, pt As Point, options As HitTestOptions) As HitTestCode
Parametreler
Bu IDeviceContext işlem kullanacaktır.
- options
- HitTestOptions
Değerlerin bit düzeyinde birleşimi HitTestOptions .
Döndürülenler
HitTestCode Geçerli görsel stili öğesinin arka planında nerede pt
bulunduğunu açıklayan bir.
Özel durumlar
dc
, null
değeridir.
Şunlara uygulanır
HitTestBackground(Graphics, Rectangle, Region, Point, HitTestOptions)
Noktanın geçerli görsel stili öğesinin arka planında ve belirtilen sınırlar içinde yer alıp almadığını belirten bir isabet testi kodu döndürür.
public:
System::Windows::Forms::VisualStyles::HitTestCode HitTestBackground(System::Drawing::Graphics ^ g, System::Drawing::Rectangle backgroundRectangle, System::Drawing::Region ^ region, System::Drawing::Point pt, System::Windows::Forms::VisualStyles::HitTestOptions options);
public System.Windows.Forms.VisualStyles.HitTestCode HitTestBackground (System.Drawing.Graphics g, System.Drawing.Rectangle backgroundRectangle, System.Drawing.Region region, System.Drawing.Point pt, System.Windows.Forms.VisualStyles.HitTestOptions options);
member this.HitTestBackground : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Region * System.Drawing.Point * System.Windows.Forms.VisualStyles.HitTestOptions -> System.Windows.Forms.VisualStyles.HitTestCode
Public Function HitTestBackground (g As Graphics, backgroundRectangle As Rectangle, region As Region, pt As Point, options As HitTestOptions) As HitTestCode
Parametreler
- options
- HitTestOptions
Değerlerin bit düzeyinde birleşimi HitTestOptions .
Döndürülenler
HitTestCode Varsa, geçerli görsel stili öğesinin arka planında nerede pt
bulunduğunu açıklayan bir.
Özel durumlar
g
, null
değeridir.