Class ContentButton
The ContentButton is a Button, which allows you to customize the View to be displayed.
Inheritance
System.Object
Xamarin.Forms.BindableObject
Xamarin.Forms.Element
Xamarin.Forms.NavigableElement
Xamarin.Forms.VisualElement
Xamarin.Forms.View
Xamarin.Forms.Layout
Xamarin.Forms.TemplatedView
Xamarin.Forms.ContentView
ContentButton
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IAnimatable
Xamarin.Forms.ITabStopElement
Xamarin.Forms.Internals.IGestureController
Xamarin.Forms.IGestureRecognizers
Xamarin.Forms.ILayout
Xamarin.Forms.ILayoutController
Xamarin.Forms.IButtonController
Xamarin.Forms.IViewController
Xamarin.Forms.IVisualElementController
Xamarin.Forms.IElementController
Inherited Members
Xamarin.Forms.ContentView.ContentProperty
Xamarin.Forms.ContentView.Content
Xamarin.Forms.TemplatedView.ControlTemplateProperty
Xamarin.Forms.TemplatedView.LayoutChildren(System.Double, System.Double, System.Double, System.Double)
Xamarin.Forms.TemplatedView.OnApplyTemplate()
Xamarin.Forms.TemplatedView.OnChildRemoved(Xamarin.Forms.Element)
Xamarin.Forms.TemplatedView.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
Xamarin.Forms.TemplatedView.GetTemplateChild(System.String)
Xamarin.Forms.TemplatedView.ResolveControlTemplate()
Xamarin.Forms.TemplatedView.ControlTemplate
Xamarin.Forms.Layout.IsClippedToBoundsProperty
Xamarin.Forms.Layout.CascadeInputTransparentProperty
Xamarin.Forms.Layout.PaddingProperty
Xamarin.Forms.Layout.ForceLayout()
Xamarin.Forms.Layout.LayoutChildIntoBoundingRegion(Xamarin.Forms.VisualElement, Xamarin.Forms.Rectangle)
Xamarin.Forms.Layout.LowerChild(Xamarin.Forms.View)
Xamarin.Forms.Layout.RaiseChild(Xamarin.Forms.View)
Xamarin.Forms.Layout.InvalidateLayout()
Xamarin.Forms.Layout.OnChildMeasureInvalidated(System.Object, System.EventArgs)
Xamarin.Forms.Layout.OnChildMeasureInvalidated()
Xamarin.Forms.Layout.OnSizeAllocated(System.Double, System.Double)
Xamarin.Forms.Layout.ShouldInvalidateOnChildAdded(Xamarin.Forms.View)
Xamarin.Forms.Layout.ShouldInvalidateOnChildRemoved(Xamarin.Forms.View)
Xamarin.Forms.Layout.UpdateChildrenLayout()
Xamarin.Forms.Layout.ResolveLayoutChanges()
Xamarin.Forms.Layout.IsClippedToBounds
Xamarin.Forms.Layout.Padding
Xamarin.Forms.Layout.CascadeInputTransparent
Xamarin.Forms.Layout.LayoutChanged
Xamarin.Forms.View.VerticalOptionsProperty
Xamarin.Forms.View.HorizontalOptionsProperty
Xamarin.Forms.View.MarginProperty
Xamarin.Forms.View.GetChildElements(Xamarin.Forms.Point)
Xamarin.Forms.View.GestureController
Xamarin.Forms.View.GestureRecognizers
Xamarin.Forms.View.Xamarin.Forms.Internals.IGestureController.CompositeGestureRecognizers
Xamarin.Forms.View.HorizontalOptions
Xamarin.Forms.View.Margin
Xamarin.Forms.View.VerticalOptions
Xamarin.Forms.VisualElement.NavigationProperty
Xamarin.Forms.VisualElement.StyleProperty
Xamarin.Forms.VisualElement.InputTransparentProperty
Xamarin.Forms.VisualElement.IsEnabledProperty
Xamarin.Forms.VisualElement.XProperty
Xamarin.Forms.VisualElement.YProperty
Xamarin.Forms.VisualElement.AnchorXProperty
Xamarin.Forms.VisualElement.AnchorYProperty
Xamarin.Forms.VisualElement.TranslationXProperty
Xamarin.Forms.VisualElement.TranslationYProperty
Xamarin.Forms.VisualElement.WidthProperty
Xamarin.Forms.VisualElement.HeightProperty
Xamarin.Forms.VisualElement.RotationProperty
Xamarin.Forms.VisualElement.RotationXProperty
Xamarin.Forms.VisualElement.RotationYProperty
Xamarin.Forms.VisualElement.ScaleProperty
Xamarin.Forms.VisualElement.ScaleXProperty
Xamarin.Forms.VisualElement.ScaleYProperty
Xamarin.Forms.VisualElement.ClipProperty
Xamarin.Forms.VisualElement.VisualProperty
Xamarin.Forms.VisualElement.IsVisibleProperty
Xamarin.Forms.VisualElement.OpacityProperty
Xamarin.Forms.VisualElement.BackgroundColorProperty
Xamarin.Forms.VisualElement.BackgroundProperty
Xamarin.Forms.VisualElement.BehaviorsProperty
Xamarin.Forms.VisualElement.TriggersProperty
Xamarin.Forms.VisualElement.WidthRequestProperty
Xamarin.Forms.VisualElement.HeightRequestProperty
Xamarin.Forms.VisualElement.MinimumWidthRequestProperty
Xamarin.Forms.VisualElement.MinimumHeightRequestProperty
Xamarin.Forms.VisualElement.IsFocusedProperty
Xamarin.Forms.VisualElement.FlowDirectionProperty
Xamarin.Forms.VisualElement.TabIndexProperty
Xamarin.Forms.VisualElement.IsTabStopProperty
Xamarin.Forms.VisualElement.OnTabIndexPropertyChanged(System.Int32, System.Int32)
Xamarin.Forms.VisualElement.TabIndexDefaultValueCreator()
Xamarin.Forms.VisualElement.OnTabStopPropertyChanged(System.Boolean, System.Boolean)
Xamarin.Forms.VisualElement.TabStopDefaultValueCreator()
Xamarin.Forms.VisualElement.BatchBegin()
Xamarin.Forms.VisualElement.BatchCommit()
Xamarin.Forms.VisualElement.Focus()
Xamarin.Forms.VisualElement.Layout(Xamarin.Forms.Rectangle)
Xamarin.Forms.VisualElement.Measure(System.Double, System.Double, Xamarin.Forms.MeasureFlags)
Xamarin.Forms.VisualElement.Unfocus()
Xamarin.Forms.VisualElement.InvalidateMeasure()
Xamarin.Forms.VisualElement.OnChildAdded(Xamarin.Forms.Element)
Xamarin.Forms.VisualElement.OnChildrenReordered()
Xamarin.Forms.VisualElement.OnMeasure(System.Double, System.Double)
Xamarin.Forms.VisualElement.SizeAllocated(System.Double, System.Double)
Xamarin.Forms.VisualElement.Xamarin.Forms.IVisualElementController.InvalidateMeasure(Xamarin.Forms.Internals.InvalidationTrigger)
Xamarin.Forms.VisualElement.Visual
Xamarin.Forms.VisualElement.FlowDirection
Xamarin.Forms.VisualElement.Xamarin.Forms.IVisualElementController.EffectiveFlowDirection
Xamarin.Forms.VisualElement.AnchorX
Xamarin.Forms.VisualElement.AnchorY
Xamarin.Forms.VisualElement.BackgroundColor
Xamarin.Forms.VisualElement.Background
Xamarin.Forms.VisualElement.Behaviors
Xamarin.Forms.VisualElement.Bounds
Xamarin.Forms.VisualElement.Height
Xamarin.Forms.VisualElement.HeightRequest
Xamarin.Forms.VisualElement.InputTransparent
Xamarin.Forms.VisualElement.IsEnabled
Xamarin.Forms.VisualElement.IsFocused
Xamarin.Forms.VisualElement.IsVisible
Xamarin.Forms.VisualElement.MinimumHeightRequest
Xamarin.Forms.VisualElement.MinimumWidthRequest
Xamarin.Forms.VisualElement.Opacity
Xamarin.Forms.VisualElement.Rotation
Xamarin.Forms.VisualElement.RotationX
Xamarin.Forms.VisualElement.RotationY
Xamarin.Forms.VisualElement.Scale
Xamarin.Forms.VisualElement.ScaleX
Xamarin.Forms.VisualElement.ScaleY
Xamarin.Forms.VisualElement.TabIndex
Xamarin.Forms.VisualElement.IsTabStop
Xamarin.Forms.VisualElement.TranslationX
Xamarin.Forms.VisualElement.TranslationY
Xamarin.Forms.VisualElement.Triggers
Xamarin.Forms.VisualElement.Width
Xamarin.Forms.VisualElement.WidthRequest
Xamarin.Forms.VisualElement.X
Xamarin.Forms.VisualElement.Y
Xamarin.Forms.VisualElement.Clip
Xamarin.Forms.VisualElement.Resources
Xamarin.Forms.VisualElement.ChildrenReordered
Xamarin.Forms.VisualElement.Focused
Xamarin.Forms.VisualElement.MeasureInvalidated
Xamarin.Forms.VisualElement.SizeChanged
Xamarin.Forms.VisualElement.Unfocused
Xamarin.Forms.NavigableElement.OnParentSet()
Xamarin.Forms.NavigableElement.Navigation
Xamarin.Forms.NavigableElement.Style
Xamarin.Forms.NavigableElement.StyleClass
Xamarin.Forms.NavigableElement.class
Xamarin.Forms.Element.MenuProperty
Xamarin.Forms.Element.AutomationIdProperty
Xamarin.Forms.Element.ClassIdProperty
Xamarin.Forms.Element.GetMenu(Xamarin.Forms.BindableObject)
Xamarin.Forms.Element.SetMenu(Xamarin.Forms.BindableObject, Xamarin.Forms.Menu)
Xamarin.Forms.Element.Xamarin.Forms.IElementController.SetValueFromRenderer(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.Element.FindByName(System.String)
Xamarin.Forms.Element.RemoveDynamicResource(Xamarin.Forms.BindableProperty)
Xamarin.Forms.Element.SetDynamicResource(Xamarin.Forms.BindableProperty, System.String)
Xamarin.Forms.Element.OnPropertyChanged(System.String)
Xamarin.Forms.Element.AutomationId
Xamarin.Forms.Element.ClassId
Xamarin.Forms.Element.Effects
Xamarin.Forms.Element.Id
Xamarin.Forms.Element.StyleId
Xamarin.Forms.Element.Parent
Xamarin.Forms.Element.ChildAdded
Xamarin.Forms.Element.ChildRemoved
Xamarin.Forms.Element.DescendantAdded
Xamarin.Forms.Element.DescendantRemoved
Xamarin.Forms.BindableObject.BindingContextProperty
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.GetValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.IsSet(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.RemoveBinding(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.SetBinding(Xamarin.Forms.BindableProperty, Xamarin.Forms.BindingBase)
Xamarin.Forms.BindableObject.ApplyBindings()
Xamarin.Forms.BindableObject.OnPropertyChanging(System.String)
Xamarin.Forms.BindableObject.UnapplyBindings()
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindablePropertyKey, System.Object)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.Dispatcher
Xamarin.Forms.BindableObject.BindingContext
Xamarin.Forms.BindableObject.PropertyChanged
Xamarin.Forms.BindableObject.PropertyChanging
Xamarin.Forms.BindableObject.BindingContextChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Tizen.Theme.Common
Assembly: Tizen.Theme.Common.dll
Syntax
public class ContentButton : ContentView, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, INavigationProxy, IStyleSelectable, IAnimatable, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable, IGestureController, IGestureRecognizers, ILayout, ILayoutController, IPaddingElement, IControlTemplated, IButtonController, IViewController, IVisualElementController, IElementController
Fields
CommandParameterProperty
BindableProperty. Identifies the CommandParameter bindable property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
CommandProperty
BindableProperty. Identifies the Command bindable property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
IsPressedProperty
BindableProperty. Identifies the IsPressed bindable property.
Declaration
public static readonly BindableProperty IsPressedProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
Properties
Command
Gets or sets command that is executed when the button is clicked.
Declaration
public ICommand Command { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CommandParameter
Gets or sets command paramter that is executed when the button is clicked.
Declaration
public object CommandParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
IsPressed
Gets a value that indicates whether this element is pressed or not.
Declaration
public bool IsPressed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
Overrides
Xamarin.Forms.VisualElement.ChangeVisualState()
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Overrides
Xamarin.Forms.ContentView.OnBindingContextChanged()
Events
Clicked
Occurs when the button is clicked.
Declaration
public event EventHandler Clicked
Event Type
Type | Description |
---|---|
System.EventHandler |
Pressed
Occurs when the button is pressed.
Declaration
public event EventHandler Pressed
Event Type
Type | Description |
---|---|
System.EventHandler |
Released
Occurs when the button is released.
Declaration
public event EventHandler Released
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IAnimatable
Xamarin.Forms.ITabStopElement
Xamarin.Forms.Internals.IGestureController
Xamarin.Forms.IGestureRecognizers
Xamarin.Forms.ILayout
Xamarin.Forms.ILayoutController
Xamarin.Forms.IButtonController
Xamarin.Forms.IViewController
Xamarin.Forms.IVisualElementController
Xamarin.Forms.IElementController