UGrokItApiForms.UgiFormsImageButton Class Reference

Overview

Xamarin.Forms UI component that a button with an image

Properties

Action LongPressAction [get, set]
 Action on Long Press (must be set before rendering) More...
 
System.Reflection.Assembly ImageAssembly [get, set]
 Gets or sets the assembly that holds the resources (normally does not need to be set) More...
 
double ImageScale [get, set]
 Gets or sets the scale of the image (default is 1.0) More...
 
string ImageName [get, set]
 Gets or sets the name of the image, which must be an embedded resource More...
 
string HighlightedImageName [get, set]
 Gets or sets the name of the highlighted image, which must be an embedded resource More...
 
Action Action [get, set]
 Gets or sets the action. More...
 

Constants

static readonly BindableProperty ImageAssemblyProperty
 BindableProperty for ImageAssembly More...
 
static readonly BindableProperty ImageScaleProperty
 BindableProperty for ImageName More...
 
static readonly BindableProperty ImageNameProperty
 BindableProperty for ImageName More...
 
static readonly BindableProperty HighlightedImageNameProperty
 BindableProperty for HighlightedImageName More...
 
static readonly BindableProperty ActionProperty
 BindableProperty for Action More...
 

Property Documentation

◆ LongPressAction

Action UGrokItApiForms.UgiFormsImageButton.LongPressAction
getset

Action on Long Press (must be set before rendering)

◆ ImageAssembly

System.Reflection.Assembly UGrokItApiForms.UgiFormsImageButton.ImageAssembly
getset

Gets or sets the assembly that holds the resources (normally does not need to be set)

The assembly.

◆ ImageScale

double UGrokItApiForms.UgiFormsImageButton.ImageScale
getset

Gets or sets the scale of the image (default is 1.0)

The scale of the image

◆ ImageName

string UGrokItApiForms.UgiFormsImageButton.ImageName
getset

Gets or sets the name of the image, which must be an embedded resource

The name of the image (an embedded resource).

◆ HighlightedImageName

string UGrokItApiForms.UgiFormsImageButton.HighlightedImageName
getset

Gets or sets the name of the highlighted image, which must be an embedded resource

The name of the highlighted image (an embedded resource).

◆ Action

Action UGrokItApiForms.UgiFormsImageButton.Action
getset

Gets or sets the action.

The code to execute when the image button is pressed.

Member Data Documentation

◆ ImageAssemblyProperty

readonly BindableProperty UGrokItApiForms.UgiFormsImageButton.ImageAssemblyProperty
static
Initial value:
= BindableProperty.Create (
propertyName: "ImageAssembly",
returnType: typeof (System.Reflection.Assembly),
declaringType: typeof (UgiFormsImageButton),
defaultValue: null)

BindableProperty for ImageAssembly

◆ ImageScaleProperty

readonly BindableProperty UGrokItApiForms.UgiFormsImageButton.ImageScaleProperty
static
Initial value:
= BindableProperty.Create (
propertyName: "ImageScale",
returnType: typeof (double),
declaringType: typeof (UgiFormsImageButton),
defaultValue: 1.0)

BindableProperty for ImageName

◆ ImageNameProperty

readonly BindableProperty UGrokItApiForms.UgiFormsImageButton.ImageNameProperty
static
Initial value:
= BindableProperty.Create (
propertyName: "ImageName",
returnType: typeof (string),
declaringType: typeof (UgiFormsImageButton),
defaultValue: null)

BindableProperty for ImageName

◆ HighlightedImageNameProperty

readonly BindableProperty UGrokItApiForms.UgiFormsImageButton.HighlightedImageNameProperty
static
Initial value:
= BindableProperty.Create (
propertyName: "HighlightedImageName",
returnType: typeof (string),
declaringType: typeof (UgiFormsImageButton),
defaultValue: null)

BindableProperty for HighlightedImageName

◆ ActionProperty

readonly BindableProperty UGrokItApiForms.UgiFormsImageButton.ActionProperty
static
Initial value:
= BindableProperty.Create (
propertyName: "Action",
returnType: typeof (Action),
declaringType: typeof (UgiFormsImageButton),
defaultValue: null)

BindableProperty for Action