public static readonly BindableProperty OptionProperty = BindableProperty.Create("Option", typeof(BackgroundOptions), typeof(Background), BackgroundOptions.Scale);
/// <summary>
- /// Gets or Sets the Image on the background. This identifier is the image path to the image.
+ /// Gets or Sets the Image on the background.
+ /// This identifier is the image path to the image.
+ /// This is a bindable property.
/// </summary>
public FileImageSource Image
{
}
/// <summary>
- /// Gets or Sets the BackgroundOption on the background. This identifiers on how a background is to display its image.
+ /// Gets or Sets the BackgroundOption on the background.
+ /// This identifiers on how a background is to display its image.
+ /// This is a bindable property.
+ /// Defalt value is BackgroundOptions.Scale.
/// </summary>
public BackgroundOptions Option
{
set { SetValue(OptionProperty, value); }
}
}
-}
+}
\ No newline at end of file
public enum BackgroundOptions
{
/// <summary>
- /// Center the background image
+ /// Center the background image.
/// </summary>
Center,
+
/// <summary>
- /// Scale the background image, retaining the aspect ratio
+ /// Scale the background image, retaining the aspect ratio.
/// </summary>
Scale,
+
/// <summary>
- /// Stretch the background image to fill the widget's area
+ /// Stretch the background image to fill the widget's area.
/// </summary>
Stretch,
+
/// <summary>
- /// Tile background image at its original size
+ /// Tile background image at its original size.
/// </summary>
Tile
}
-}
+}
\ No newline at end of file
{
/// <summary>
/// The FloatingButton class.
- /// This is only supported for mobile profiles.
+ /// Only supported for mobile profiles.
+ /// Only one in the application.
/// </summary>
/// <example>
/// <code>
IFloatingButton _floatingButton = null;
/// <summary>
- /// Gets or sets the movability state of the FloatingButton. This is a bindable property.
+ /// Gets or sets the movability state of the FloatingButton.
+ /// This is a bindable property.
+ /// Defalt value is FloatingButtonMovablePosition.All
/// </summary>
public FloatingButtonMovablePosition MovablePosition
{
}
/// <summary>
- /// Gets the horizontal position of the FloatingButton. This is a bindable property.
+ /// Gets the horizontal position of the FloatingButton.
+ /// Default value is FloatingButtonPosition.Right
/// </summary>
public FloatingButtonPosition Position
{
/// <summary>
/// Gets the visible state of the FloatingButton.
+ /// This is a bindable property.
/// </summary>
public bool IsShown
{
/// <summary>
/// Gets and sets the internal button of the FloatingButton.
+ /// This is a bindable property.
+ /// It can be nullable.
/// </summary>
public FloatingButtonItem FirstButton
{
/// <summary>
/// Gets and sets the internal button of the FloatingButton.
+ /// This is a bindable property.
+ /// It can be nullable.
/// </summary>
public FloatingButtonItem SecondButton
{
/// <summary>
/// Gets or sets the Icon of the FloatingButtonItem.
+ /// It can be nullable.
/// </summary>
public FileImageSource Icon
{
public enum FloatingButtonPosition
{
/// <summary>
- /// hides in the left, but small handler will show only
+ /// Hides in the left, but small handler will show only
/// </summary>
LeftOut,
/// <summary>
- /// shows all of buttons, but lies on the left
+ /// Shows all of buttons, but lies on the left
/// </summary>
Left,
/// <summary>
- /// shows all of buttons, but lies on the center
+ /// Shows all of buttons, but lies on the center
/// </summary>
Center,
/// <summary>
- /// shows all of buttons, but lies on the right
+ /// Shows all of buttons, but lies on the right
/// </summary>
Right,
/// <summary>
- /// hides in the right, but small handler will show only
+ /// Hides in the right, but small handler will show only
/// </summary>
RightOut,
}
public static readonly BindableProperty GroupNameProperty = BindableProperty.Create("GroupName", typeof(string), typeof(RadioButton), default(string));
/// <summary>
- /// Gets or sets the Text displayed as the content of the RadioButton. This is a bindable property.
+ /// Gets or sets the Text displayed as the content of the RadioButton.
+ /// This is a bindable property.
/// </summary>
public string Text
{
}
/// <summary>
- /// Gets or sets the Color for the text of the RadioButton. This is a bindable property.
+ /// Gets or sets the Color for the text of the RadioButton.
+ /// This is a bindable property.
/// </summary>
public Color TextColor
{
}
/// <summary>
- /// Gets or sets the Font for the RadioButton text. This is a bindable property.
+ /// Gets or sets the Font for the RadioButton text.
+ /// This is a bindable property.
/// </summary>
public Font Font
{
/// <summary>
/// Gets or sets the font family to which the font for the RadioButton text belongs.
+ /// This is a bindable property.
/// </summary>
public string FontFamily
{
/// <summary>
/// Gets or sets the size of the font of the RadioButton text.
+ /// This is a bindable property.
/// </summary>
public double FontSize
{
/// <summary>
/// Gets or sets a value that indicates whether the font for the RadioButton text is bold, italic, or neither.
+ /// This is a bindable property.
/// </summary>
public FontAttributes FontAttributes
{
/// <summary>
/// Gets or sets the name that specifies which RadioButton controls are mutually exclusive.
+ /// This is a bindable property.
+ /// It can be nullable.
/// </summary>
public string GroupName
{
/// <summary>
/// Gets or sets a Boolean value that indicates whether this RadioButton is selected.
+ /// This is a bindable property.
/// </summary>
public bool IsSelected
{
radioButton.Selected?.Invoke(radioButton, new SelectedEventArgs((bool)newValue));
}
}
-}
+}
\ No newline at end of file