Assembly: System.Windows (in System.Windows.dll)
This value is set only by the constructor.
In some cases, peer implementations access properties of the owner object in order to generate values that are reported by the peer. It is appropriate to make assumptions about the type of the owner control, if you also implement that control. In other words, if you are also creating the association between peer and control through implementation of OnCreateAutomationPeer(), then you have some influence over what will be when the peer is created. However, peer implementers should also account for the possibility that derived controls will also access the peer associated with the base class through the default OnCreateAutomationPeer() implementation, without defining a new peer of their own.