SpreadsheetGear 2012
OnTemplateChanged Method (DropDownButton)






Syntax
'Declaration
 
Protected Overridable Sub OnTemplateChanged( _
   ByVal oldTemplate As System.Windows.Controls.ControlTemplate, _
   ByVal newTemplate As System.Windows.Controls.ControlTemplate _
) 
'Usage
 
Dim instance As DropDownButton
Dim oldTemplate As System.Windows.Controls.ControlTemplate
Dim newTemplate As System.Windows.Controls.ControlTemplate
 
instance.OnTemplateChanged(oldTemplate, newTemplate)
protected virtual void OnTemplateChanged( 
   System.Windows.Controls.ControlTemplate oldTemplate,
   System.Windows.Controls.ControlTemplate newTemplate
)
protected procedure OnTemplateChanged( 
    oldTemplate: System.Windows.Controls.ControlTemplate;
    newTemplate: System.Windows.Controls.ControlTemplate
); virtual; 
protected function OnTemplateChanged( 
   oldTemplate : System.Windows.Controls.ControlTemplate,
   newTemplate : System.Windows.Controls.ControlTemplate
);
protected: virtual void OnTemplateChanged( 
   System.Windows.Controls.ControlTemplate* oldTemplate,
   System.Windows.Controls.ControlTemplate* newTemplate
) 
protected:
virtual void OnTemplateChanged( 
   System.Windows.Controls.ControlTemplate^ oldTemplate,
   System.Windows.Controls.ControlTemplate^ newTemplate
) 

Parameters

oldTemplate
newTemplate
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DropDownButton Class
DropDownButton Members

Send Feedback