title: How to take screenshot and share it from program to social media(Facebook,Telegram and other)?
body: <p>I make a screenshot on page and I want to share it to social media. I do not know how to share image to the social media. I know only how to share text, but I need to share image.Please help me to share screenshot from program</p>
  <pre><code> &lt;ContentPage.Content&gt;
          &lt;StackLayout HeightRequest=&quot;30&quot; WidthRequest=&quot;30&quot;&gt;
  
              &lt;StackLayout x:Name=&quot;header&quot;&gt;
                  &lt;Frame
                      Padding=&quot;3&quot;
                      BackgroundColor=&quot;White&quot;
                      BorderColor=&quot;#DBDBDB&quot;
                      CornerRadius=&quot;15&quot;
                      HasShadow=&quot;False&quot;&gt;
                      &lt;StackLayout Orientation=&quot;Horizontal&quot;&gt;
                          &lt;StackLayout
                              Margin=&quot;5,0,0,0&quot;
                              HorizontalOptions=&quot;Start&quot;
                              Orientation=&quot;Horizontal&quot;&gt;
  
                              &lt;StackLayout VerticalOptions=&quot;Center&quot;&gt;
                                  &lt;Label
                                      FontSize=&quot;16&quot;
                                      HorizontalOptions=&quot;Start&quot;
                                      Text=&quot;USD&quot;
                                      TextColor=&quot;Black&quot; /&gt;
                                  &lt;Label
                                      FontSize=&quot;10&quot;
                                      HorizontalOptions=&quot;Start&quot;
                                      Text=&quot;US Dollar&quot;
                                      TextColor=&quot;Black&quot; /&gt;
                              &lt;/StackLayout&gt;
  
  
                          &lt;/StackLayout&gt;
  
                      &lt;/StackLayout&gt;
                  &lt;/Frame&gt;
              &lt;/StackLayout&gt;
  
              &lt;Button x:Name=&quot;ShareButton&quot; Text=&quot;Share&quot; /&gt;
              &lt;Image x:Name=&quot;result&quot; /&gt;
          &lt;/StackLayout&gt;
      &lt;/ContentPage.Content&gt;
  
  
  
   public async void Button_Clicked(Object o,EventArgs e)
          {
              var image =await header.CaptureImageAsync();
              result.Source = ImageSource.FromStream(() =&gt; image);
  
          }
  </code></pre>
  <p>It is code how I make screenshot.Please help me to share image from program to social media</p>