Nyelv

VisualStyleRenderer.DrawEdge Metódus

Definíció

A megadott határolókeret egy vagy több szélét rajzolja meg.

public:
 System::Drawing::Rectangle DrawEdge(System::Drawing::IDeviceContext ^ dc, System::Drawing::Rectangle bounds, System::Windows::Forms::VisualStyles::Edges edges, System::Windows::Forms::VisualStyles::EdgeStyle style, System::Windows::Forms::VisualStyles::EdgeEffects effects);
public System.Drawing.Rectangle DrawEdge(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.Edges edges, System.Windows.Forms.VisualStyles.EdgeStyle style, System.Windows.Forms.VisualStyles.EdgeEffects effects);
member this.DrawEdge : System.Drawing.IDeviceContext * System.Drawing.Rectangle * System.Windows.Forms.VisualStyles.Edges * System.Windows.Forms.VisualStyles.EdgeStyle * System.Windows.Forms.VisualStyles.EdgeEffects -> System.Drawing.Rectangle
Public Function DrawEdge (dc As IDeviceContext, bounds As Rectangle, edges As Edges, style As EdgeStyle, effects As EdgeEffects) As Rectangle

Paraméterek

dc
IDeviceContext

A IDeviceContext szélek rajzolásához használt.

bounds
Rectangle

A Rectangle rajzolni kívánt élek meghatározása a határvonallal.

edges
Edges

Az értékek bitenkénti kombinációja Edges .

style
EdgeStyle

Az értékek bitenkénti kombinációja EdgeStyle .

effects
EdgeEffects

Az értékek bitenkénti kombinációja EdgeEffects .

Válaszok

A Rectangle paraméter belseje bounds , a rajzolt élek nélkül.

Kivételek

dc az null.

A következőre érvényes: