BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
public MainPage()
{
InitializeComponent();
StackLayout stackLayout = new StackLayout();
SfButton selectDatabaseSfButton = new SfButton();
selectDatabaseSfButton.CornerRadius = 5d;
selectDatabaseSfButton.HeightRequest = 40d;
selectDatabaseSfButton.BackgroundColor = Color.FromHex("#007bff");
selectDatabaseSfButton.Margin = new Thickness(0d, 0d, 10d, 0d);
selectDatabaseSfButton.ImageSource = ImageSource.FromResource("QuerySample.icon.png", typeof(MainPage).GetTypeInfo().Assembly);
selectDatabaseSfButton.ShowIcon = true;
selectDatabaseSfButton.Text = "Hello";
stackLayout.Children.Add(selectDatabaseSfButton);
this.Content = stackLayout;
}
|
Var source = ImageSource.FromResource("namespace.imagename.imagename_extension", typeof(Classname).GetTypeInfo().Assembly);
|