title: Access PlaceHolderText property of Textbox and set it to initially value once the Page/User Control loads
body: <p>I am working on a UWP app and I have implemented a <code>UserControl</code>.The user control has multiple <code>Textboxes</code> and the usercontrol has been implemented in a different <code>view</code> page. I want to make sure that whenever the View page loads, all the textboxes have <code>Enter</code>as the default text that goes off when the textbox is highlighted.</p>
  
  <p>My <code>UserControl</code> has this implementation </p>
  
  <pre><code>&lt;UserControl &gt;
   ---------------------------
  ----------------------------
  &lt;Border Grid.Row="1" Grid.Column="2" BorderBrush="{StaticResource brush}" BorderThickness="0,3,0,0" &gt;
                  &lt;local:NumericTextBox x:Name="TaxifuelRevised"  IsEnabled="{Binding FuelPlanInfo.IsTappable}" Tag="TaxiFuelActual" TextAlignment="Right" Text="{Binding FuelPlanInfo.TaxiFuelActualInPreferredUnit,ElementName=rootFuelControl,Mode=TwoWay,UpdateSourceTrigger=Explicit}" 
                           Margin="0,0,40,0" Style="{StaticResource TransparentTextBox}" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="#FF0078D7" 
                           BorderBrush="{x:Null}" Background="{x:Null}" FontSize="40" FontFamily="Helvetica" InputScope="Number" 
                           KeyDown="TextBox_KeyDown" MaxLength="5" GotFocus="TextBox_GotFocus" LostFocus="TextBox_LostFocus" Tapped="KeyBoardInputScope_Tapped"  /&gt;
  
  
  
              &lt;/Border&gt;
  
  &lt;/UserControl&gt;
  </code></pre>
  
  <p>The <code>view</code> where it has been implemented is </p>
  
  <pre><code> &lt;Pivot x:Name="MyPivot" Grid.Row="1" ManipulationMode="None" Margin="115,10,90,20" SelectionChanged="MyPivot_SelectionChanged" HorizontalAlignment="Stretch" Width="2536"  &gt;
  
                                  &lt;PivotItem Tag="Fuel Plan" Margin="0" ManipulationMode="None"&gt;
  
                                  &lt;PivotItem.Header &gt;
  
                                      &lt;StackPanel &gt;
                                          &lt;Image Name="FuelPlanImage" Source="ms-appx:///Assets/fuel_plan_icon.png" Width="82" Height="80"&gt;&lt;/Image&gt;
                                          &lt;TextBlock Margin="0,8,0,0" TextAlignment="Center" Text="Fuel Plan"  FontSize="40"/&gt;
                                      &lt;/StackPanel&gt;
                                  &lt;/PivotItem.Header&gt;
  
  
                                      &lt;local:FuelPlan x:Name="FuelPlanUC" HorizontalAlignment="Stretch" FuelPlanInfo="{x:Bind ViewModel.FuelPlanInfo, Mode=OneWay}"&gt;&lt;/local:FuelPlan&gt;
  
                              &lt;/PivotItem&gt;
  </code></pre>