Backstage Help

Nov 22, 2010 at 3:03 AM

Could someone please tell me what is wrong with this code ?

 

Setting the ContentTemplate on the ItemContainerStyle of a BackstageTabItem used to work in 1.3.

Would be great if someone could show me the correct way. 

 

Thank you in advance.

 

<Fluent:Ribbon.Menu>

	<Fluent:Backstage IsOpen="{Binding SummaryShown, Mode=TwoWay}">

		<Fluent:BackstageTabControl>

			<Fluent:BackstageTabItem Header="TEST" Content="HEllo">

				<Fluent:BackstageTabItem.ContentTemplate>

					<DataTemplate>

						<TextBox Text="{Binding}" />

					</DataTemplate>

				</Fluent:BackstageTabItem.ContentTemplate>

			</Fluent:BackstageTabItem>

		</Fluent:BackstageTabControl>

	</Fluent:Backstage>

</Fluent:Ribbon.Menu>

 

Coordinator
Nov 22, 2010 at 8:45 AM

You are doing right. There is a bug there. It was fixed, so you can try the latest changeset. However there is some issues, for example, you will have to set Mode=OneWay in <TextBox Text="{Binding}" />.

Daniel

Nov 22, 2010 at 10:54 PM

Thanks for quick reply but TwoWay bindings are pretty important...