Skip to main content

Microsoft Silverlight

Answered Question Changing ChildWindow colors/stylesRSS Feed

(0)

rasmasyean
rasmasyean

Member

Member

81 points

165 Posts

Changing ChildWindow colors/styles

How do you change the border colors and title bar colors and stuff of the ChildWindow?

msalsbery
msalsbery

Participant

Participant

1932 points

353 Posts

Answered Question

Re: Changing ChildWindow colors/styles

The "Customizing the ChildWindow Control" section of the ChildWindow Class documentation should help get you started.

For the border, there is BorderBrush and BorderThickness properties.  The Title peoperty can be used to provide customized title content.

 

Mark Salsbery
Microsoft MVP - Visual C++

Min-Hong Tang - MSFT
Min-Hong...

Contributor

Contributor

3376 points

377 Posts

Re: Changing ChildWindow colors/styles

Hi,

   You can also build a user control derived from a child window, then you can manipulate  the look and feel.

Best Regards.

Min-Hong Tang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities