ArcGIS API for WPF - Library Reference
OnApplyTemplate Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit Namespace > ScaleLine Class : OnApplyTemplate Method

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub OnApplyTemplate() 
C# 
public override void OnApplyTemplate()

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.