DomainDataSource.OnApplyTemplate Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Builds the visual tree for the DomainDataSource when a new template is applied.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)
Syntax
'Declaration
Public Overrides Sub OnApplyTemplate
'Usage
Dim instance As DomainDataSource
instance.OnApplyTemplate()
public override void OnApplyTemplate()
public:
virtual void OnApplyTemplate() override
abstract OnApplyTemplate : unit -> unit
override OnApplyTemplate : unit -> unit
public override function OnApplyTemplate()
Remarks
This method is invoked whenever application code or an internal process, such as a rebuilding layout pass, calls the ApplyTemplate() method.