Yes, you're right. Should have been more specific. I'm new to C# and .NET.
Am still mainly a Delphi and VC++ man.
I'm guessing Forms? The control is derived from
System.Windows.Forms.Linklabel. There isn't a BorderStyle property. I've
even tried putting the label on top of a panel (derived from
System.Windows.Forms.Panel) and couldn't find a Borderstyle there either.
Whats WPF? I'm developing for a Windows CE 5.0 device running the Compact
Framework .NET v2.0.
Regards,
Alain
"Peter Duniho" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 3/10/11 4:31 PM, Alain Dekker wrote:
>> Am I missing something, but do these controls have a "Borderstyle"
>> proeprty
>> so I can draw a box around them? If not, is this possible for these
>> controls?
>
> Are you talking about Forms or WPF? I'm guessing WPF, but you really
> ought to be specific.
>
> If WPF, then look at the BorderBrush and BorderThickness properties. You
> should be able to use styles to apply pre-defined values to those, as with
> other display elements.
>
> Pete
|