Intersoft ClientUI Documentation
TargetName Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > GlassButton Class : TargetName Property






Gets or sets the name of a target window or frame that will display the content specified by the NavigationUri property.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property TargetName As String
Visual Basic (Usage)Copy Code
Dim instance As GlassButton
Dim value As String
 
instance.TargetName = value
 
value = instance.TargetName
C# 
[CategoryAttribute("Common Properties")]
public string TargetName {get; set;}
Delphi 
public read-write property TargetName: String; 
JScript 
CategoryAttribute("Common Properties")
public function get,set TargetName : String
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property string* get_TargetName();
public: __property void set_TargetName( 
   string* value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property String^ TargetName {
   String^ get();
   void set (    String^ value);
}

Remarks

You can also use GlassButton to perform navigation to the specified NavigateUri and TargetFrame. This behavior is inherited from ISButton that implements INavigationSource interface.

The following example shows how to perform navigation using GlassButton.

XAML Copy Code
<Intersoft:GlassButton Content="Try Now" 
    NavigateUri="http://www.clientui.com/try" TargetName="_blank"
    ToolTipService.ToolTip="Visit Download Page"/>

To learn more about navigation, see Navigation Overview.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.