Image and Text box in SlideView Header

Nov 1, 2015 at 8:30 AM
Edited Nov 1, 2015 at 8:31 AM
I am making windows 8.1 app in the Windows 10 with help of Visual Studio 2013. I could successfully disable Right Pane. Also I could add TextBox which I could set from each page separately. But when I add Image with the TextBox it will not work but if I put only Image without Textbox it will work. I did below code.
<Setter Property="HeaderTemplate">
          <Grid Background="#48649F">
                            <ColumnDefinition Width="2*"/>
                            <ColumnDefinition Width="4*"/>
                        <Image Source="{Binding library:SlideApplicationFrame.ImageSource}" HorizontalAlignment="Right" Stretch="None" Grid.Column="0"/>
                        <TextBlock Margin="6,12" VerticalAlignment="Center" FontSize="26" Text="{Binding}" Grid.Column="1" />
Once that is solved I want to make Image Source dynamically. For that I added below code in SlideApplicationFrame.cs but it is not helping
#region ImageSource (DependencyProperty)

        /// <summary>
        /// Content for the header
        /// </summary>
        public object Image_Source
            get { return (object)GetValue(ImageSourceProperty); }
            set { SetValue(ImageSourceProperty, value); }
        public static readonly DependencyProperty ImageSourceProperty =
                DependencyProperty.Register("Image_Source", typeof(object), typeof(SlideApplicationFrame),
                    new PropertyMetadata(null));

Kindly help me to solve this issue.
Nov 1, 2015 at 9:01 PM
Any Help on this please !!!