Questions tagged [attached-properties]

In Windows Presentation Foundation (WPF), attached properties are a specialized form of dependency property that does not have the conventional property "wrapper".

An attached property is intended to be used as a type of global property that is settable on any object. It allows different child elements to specify unique values for a property that is actually defined in a parent element (Grid.Row and Grid.Column are an example of frequenly used attached dependency properties).

General information: Attached Properties Overview

458 questions
0
votes
1 answer

WPF Attached Dependency Property Computed Field Update

Given a very simple custom container control CustomDock with two attached properties, IsFooBar1 and IsFooBar2. How can I ensure that visual studio will update the generated xaml for the values of IsFooBar1 if setting IsFooBar2 updates the value of…
DAC
  • 1,769
  • 1
  • 20
  • 32
0
votes
1 answer

Extended WPF Toolkit - Styling the RichTextBox with FormatBar causes exception

I'm trying to style the Extended WPF Toolkit RichTextBox like so: