Intersoft ClientUI Documentation
AdditionalToolGroup Property
Example 



Specifies the data template, usually contains additional navigation buttons, which will be added to the navigation bar.
Syntax
Public Property AdditionalToolGroup As DataTemplate
Dim instance As UXNavigationBar
Dim value As DataTemplate
 
instance.AdditionalToolGroup = value
 
value = instance.AdditionalToolGroup
public DataTemplate AdditionalToolGroup {get; set;}
public:
property DataTemplate^ AdditionalToolGroup {
   DataTemplate^ get();
   void set (    DataTemplate^ value);
}
Example
The following example shows how to add more commands in the UXNavigationBar by specifying the AdditionalToolGroup template.
<Intersoft:UXPage... >
	<Intersoft:UXPage.Resources>
		<DataTemplate x:Key="AdditionalCommandTemplate">
		    <Intersoft:UXToolGroup>
		        <Intersoft:UXTextBox Command="Intersoft:NavigationCommands.Navigate" Style="{StaticResource AddressBarStyle}" MinWidth="150" Text="Address Bar" ToolTipService.ToolTip="Current Page" Margin="4,0,0,0"/>
		        <Intersoft:UXSeparator Orientation="Vertical" Margin="2,5,2,3" Background="#FF383838" d:LayoutOverrides="Width" BorderBrush="#58FFFFFF"/>
		        <Intersoft:UXToolBarButton Content="Email" DisplayMode="Image" VerticalAlignment="Center" HorizontalAlignment="Left" Icon="Assets/Images/Email.png" ToolTipService.ToolTip="Custom Command 1"/>
		        <Intersoft:UXToolBarButton Content="Print" DisplayMode="Image" VerticalAlignment="Center" HorizontalAlignment="Left" Icon="Assets/Images/Print.png" ToolTipService.ToolTip="Custom Command 2"/>
		    </Intersoft:UXToolGroup>
		</DataTemplate>
	</Intersoft:UXPage.Resources>

	...
	<Grid...>
		<Intersoft:UXNavigationBar x:Name="NavigationBar" HorizontalContentAlignment="Stretch" HorizontalAlignment="Left" AdditionalToolGroup="{StaticResource AdditionalCommandTemplate}" HomeUri="/Home"/>
	</Grid>
</Intersoft:UXPage>
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

UXNavigationBar Class
UXNavigationBar Members
Navigation Overview

Send Feedback