Xamarin.Forms
Namespace with 207 public types
Classes
AbsoluteLayout
Positions child elements at absolute positions.
ActivityIndicator
A visual control used to indicate that something is ongoing.
Animation
Encapsulates an animation, a collection of functions that modify properties over a user-perceptible time period.
Application
Class that represents a cross-platform mobile application.
BackButtonPressedEventArgs
Contains arguments for the event that is raised when a back button is pressed.
BindableProperty
A BindableProperty is a backing store for properties allowing bindings on .
BindablePropertyKey
The secret key to a BindableProperty, used to implement a BindableProperty with restricted write access.
Binding
A single 1:1 immutable data binding.
BindingCondition
Class that represents a value comparison with the target of an arbitrary binding.
BindingTypeConverter
Type converter that converts from source types to
BoundsConstraint
A bounds layout constraint used by s.
BoundsTypeConverter
A that converts strings into s for use with s.
BoxView
A used to draw a solid colored rectangle.
Button
A button that reacts to touch events.
CarouselPage
A Page that users can swipe from side to side to display pages of content, like a gallery.
ColorTypeConverter
A that converts from strings to a .
ColumnDefinition
An that defines properties for a column in a .
ColumnDefinitionCollection
A for s.
Command
Defines an implementation wrapping an .
Command`1
Defines an implementation wrapping a generic Action<T>.
Constraint
A layout constraint used by s.
ConstraintExpression
Defines a constraint relationship.
ConstraintTypeConverter
A that converts from strings to a .
ContentPage
A that displays a single view.
ContentPropertyAttribute
Indicates the property of the type that is the (default) content property.
ContentView
An element that contains a single child element.
DataTemplate
A template for multiple bindings, commonly used by s, s, and s.
DataTrigger
Class that represents a binding condition and a list of objects that will be applied when the condition is met.
DateChangedEventArgs
Event arguments for event.
DatePicker
A that allows date picking.
DefinitionCollection`1
A collection parameterized by an . Base class for and .
DependencyAttribute
An attribute that indicates that the specified type provides a concrete implementation of a needed interface.
Easing
Functions that modify values non-linearly, generally used for animations.
Editor
A control that can edit multiple lines of text.
ElementEventArgs
Provides data for events pertaining to a single .
Entry
A control that can edit a single line of text.
EntryCell
A with a label and a single line text entry field.
EventTrigger
Class that represents a triggering event and a list of objects that will be invoked when the event is raised.
FileImageSource
An that reads an image from a file.
FocusEventArgs
Event args for 's and events.
FontSizeConverter
Converts a string into a font size.
FontTypeConverter
A that converts from strings to .
FormattedString
Represents a text with attributes applied to some parts.
Frame
An element containing a single child, with some framing options.
GestureRecognizer
The base class for all gesture recognizers.
Grid
A layout that arranges views in rows and columns.
GridLengthTypeConverter
A that converts from strings to s.
HtmlWebViewSource
A WebViewSource bound to an HTML-formatted string.
Image
that holds an image.
ImageCell
A that has an image.
InputView
The base class of a view which can take keyboard input.
ItemTappedEventArgs
Event arguments for the event.
ItemVisibilityEventArgs
Event args when an items visiblity has been changed in a .
Keyboard
Default keyboard and base class for specialized keyboards, such as those for telephone numbers, email, and URLs.
KeyboardTypeConverter
A that converts a string into a .
Label
A that displays text.
ListView
An that displays a collection of data as a vertical list.
MasterDetailPage
A that manages two panes of information: A master page that presents data at a high level, and a detail page that displays low-level details about information in the master.
MenuItem
Class that presents a menu item and associates it with a command.
ModalPoppedEventArgs
Arguments for the event that is raised when a modal window is popped from the navigation stack.
ModalPoppingEventArgs
Arguments for the event that is raised when a modal window is popping from the navigation stack.
ModalPushedEventArgs
Arguments for the event that is raised when a modal window is pushed onto the navigation stack.
ModalPushingEventArgs
Arguments for the event that is raised when a modal window is being pushed onto the navigation stack.
MultiTrigger
Class that represents a list of property and binding conditions, and a list of setters that are applied when all of the conditions in the list are met.
NavigationEventArgs
EventArgs for the NavigationPage's navigation events.
NavigationPage
A that manages the navigation and user-experience of a stack of other pages.
OnIdiom`1
Provides idiom-specific implementation of T for the current TargetIdiom.
OnPlatform`1
Provides the platform-specific implementation of T for the current .
OpenGLView
A that displays OpenGL content.
Page
A that occupies the entire screen.
Picker
A control for picking an element in a list.
PointTypeConverter
A that converts from a string to a .
ProgressBar
A control that displays progress.
PropertyChangingEventArgs
Event arguments for the delegate.
PropertyCondition
Class that represents a value comparison with a property.
RectangleTypeConverter
A that converts a string to a .
RelativeLayout
A that uses s to layout its children.
RenderWithAttribute
Associate view with renderer.
ResourceDictionary
An IDictionary that maps identifier strings to arbitrary resource objects.
RowDefinition
An that defines properties for a row in a .
RowDefinitionCollection
A for s.
ScrolledEventArgs
Arguments for the event that is raised when a window is scrolled.
ScrollToRequestedEventArgs
Arguments for the event that is raised when a scroll is requested.
ScrollView
An element capable of scrolling if its Content requires.
SearchBar
A control that provides a search box.
SelectedItemChangedEventArgs
Event arguments for the event.
Setter
Represents an assignment of a property to a value, typically in a style or in response to a trigger.
Slider
A control that inputs a linear value.
Span
Represents a part of a FormattedString.
StackLayout
A that positions child elements in a single line which can be oriented vertically or horizontally.
Stepper
A control that inputs a discrete value, constrained to a range.
StreamImageSource
that loads an image from a .
Style
Class that contains triggers, setters, and behaviors that completely or partially define the appearance and behavior of a class of visual elements.
Switch
A control that provides a toggled value.
SwitchCell
A with a label and an on/off switch.
TabbedPage
that displays an array of tabs across the top of the screen, each of which loads content onto the screen.
TableRoot
A that contains either a table section or the entire table.
TableSection
A logical and visible section of a .
TableView
A that holds rows of elements.
TapGestureRecognizer
Provides tap gesture recognition and events.
TappedEventArgs
Arguments for the event.
TextCell
A with primary and text.
TextChangedEventArgs
Event arguments for TextChanged events. Provides old and new text values.
ThicknessTypeConverter
A that converts from a string to a .
TimePicker
A control that provides time picking.
ToggledEventArgs
Event arguments for and events.
ToolbarItem
An item in a toolbar or displayed on a .
Trigger
Class that represents a property condition and an action that is performed when the condition is met.
TypeConverterAttribute
Attribute that specifies the type of used by its target.
UnsolvableConstraintsException
Exception indicating that the s specified cannot be simultaneously satisfied.
UriImageSource
An ImageSource that loads an image from a URI, caching the result.
UriTypeConverter
A that converts from a string or to a .
UrlWebViewSource
A WebViewSource bound to a URL.
ValueChangedEventArgs
Event arguments for ValueChanged events. Provides both old and new values.
View
A visual element that is used to place layouts and controls on the screen.
ViewCell
A containing a developer-defined .
VisualElement
A that occupies an area on the screen, has a visual appearance, and can obtain touch input.
WebNavigatedEventArgs
Class that contains arguments for the event that is raised after web navigation completes.
WebNavigatingEventArgs
Class that contains arguments for the event that is raised after web navigation begins.
WebNavigationEventArgs
TClass that contains arguments for the event that is when web navigation begins.
WebView
A that presents HTML content.
WebViewSourceTypeConverter
A that converts a string to a .
Structures
Color
Class that represents a color and exposes it as RGBA and HSL values.
Font
The font used to display text.
GridLength
Used to define the size (width/height) of Grid ColumnDefinition and RowDefinition.
LayoutOptions
A struct whose static members define various alignment and expansion options.
Point
Struct defining a 2-D point as a pair of doubles.
Rectangle
Struct defining a rectangle, using doubles.
Size
Struct defining height and width as a pair of doubles.
SizeRequest
Struct that definse minimum and maximum s.
Thickness
Struct defining thickness around the edges of a using doubles.
Vec2
Struct defining X and Y double values.
Enumerations
AbsoluteLayoutFlags
Flags used to modify how layout bounds are interpreted in an .
Aspect
Defines how an image is displayed.
BindingMode
The direction of changes propagation for bindings.
ConstraintType
Enumeration specifying whether a constraint is constant, relative to a view, or relative to its parent.
DependencyFetchTarget
Enumeration specifying whether should return a reference to a global or new instance.
FontAttributes
Enumerates values that describe font styles.
GestureState
Enumeration specifying the various states of a gesture.
GridUnitType
Enumerates values that control how the property is interpreted for row and column definitions.
KeyboardFlags
Flagging enumeration for Keyboard options such as Capitalization, Spellcheck, and Suggestions.
LayoutAlignment
Values that represent LayoutAlignment.
LineBreakMode
Enumeration specifying various options for line breaking.
MasterBehavior
Enumerates values that control how detail content is displayed in a master-detail page.
NamedSize
Represents pre-defined font sizes.
ScrollOrientation
Enumeration specifying vertical or horizontal scrolling directions.
ScrollToMode
Enumerates values that describe how a scroll request is made.
ScrollToPosition
Enumerates values that describe a scroll request.
SeparatorVisibility
Enumerates values that control the visibility of list item separators.
StackOrientation
The orientations the a StackLayout can have.
TableIntent
TableIntent provides hints to the renderer about how a table will be used.
TargetIdiom
Indicates the type of device Forms is working on.
TargetPlatform
Indicates the kind of OS Forms is currently working on.
TextAlignment
Represents vertical and horizontal text alignement.
ToolbarItemOrder
Enumeration specifying whether the appears on the primary toolbar surface or secondary.
ViewState
Deprecated. Do not use.
WebNavigationEvent
Contains values that indicate why a navigation event was raised.
WebNavigationResult
Enumerates values that indicate the outcome of a web navigation.
Static Classes
AnimationExtensions
Extension methods for .
BindableObjectExtensions
Contains convenience extension methods for .
DependencyService
Static class that provides the factory method for retrieving platform-specific implementations of the specified type T.
Device
A utility class to interact with the current Device/Platform.
MessagingCenter
Associates a callback on subscribers with a specific message name.
NameScopeExtensions
Extension methods for and that add strongly-typed FindByName methods.
SettersExtensions
Defines extensions methods for IList<Setter>
TemplateExtensions
Extension class for DataTemplate, providing a string-based shortcut method for defining a Binding.
ViewExtensions
Extension methods for s, providing animatable scaling, rotation, and layout functions.
Abstract Classes
BaseMenuItem
Base class for menu items.
Behavior
Base class for generalized user-defined behaviors that can respond to arbitrary conditions and events.
Behavior`1
Base generic class for generalized user-defined behaviors that can respond to arbitrary conditions and events.
BindableObject
Provides a mechanism by which application developers can propagate changes that are made to data in one object to another, by enabling validation, type coercion, and an event system. .
BindingBase
An abstract class that provides a and a formatting option.
Cell
Condition
Base class for conditions.
Element
Provides the base class for all Forms hierarchal elements. This class contains all the methods and properties required to represent an element in the Forms hierarchy.
HandlerAttribute
An abstract attribute whose subclasses specify the platform-specific renderers for Xamarin.Forms abstract controls.
ImageSource
Abstract class whose implementors load images from files or the Web.
ItemsView`1
A base class for a view that contains a templated list of items.
Layout
Provides the base class for all Layout elements. Use Layout elements to position and size child elements in Forms applications.
Layout`1
A base implementation of a layout with undefined behavior and multiple children.
ModalEventArgs
Base class for , , , and .
MultiPage`1
A bindable, templatable base class for pages which contain multiple sub-pages.
TableSectionBase
Abstract base class defining a table section.
TableSectionBase`1
Table section that contains instances of type T that are rendered by Xamarin.Forms.
TriggerAction
A base class for user-defined actions that are performed when a trigger condition is met.
TriggerAction`1
A generic base class for user-defined actions that are performed when a trigger condition is met.
TriggerBase
Base class for classes that contain a condition and a list of actions to perform when the condition is met.
TypeConverter
Abstract base class whose subclasses can convert values between different types.
WebViewSource
Abstract class whose subclasses provide the data for a .
Interfaces
IAnimatable
Defines an interface for elements that can be animated.
IDefinition
Interface defining the type of and .
IElementController
When implemented in a derived class, sets the value on bound properties so that their bindings are preserved.
IGestureRecognizer
The base interface all gesture recognizers must implement.
ILayout
Interface indicating layout behavior and exposing the event.
ILayoutController
Class that renderers implement in order participate in the layout cycle.
INavigation
Interface abstracting platform-specific navigation.
IPageContainer`1
Interface defining a container for s and exposing a property.
IPlatform
Interface defining the abstraction of a native platform.
IPlatformEngine
Interface defining a native platform rendering engine.
IRegisterable
Internally-used flagging interface indicating types that can be registered with .
IScrollViewController
Interface for a scrollview controller.
IValueConverter
Interface defining methods for two-way value conversion between types.
IViewContainer`1
The type of element that can be added to the container.
IViewController
Contains methods that set values from renderers on bound properties without breaking the binding.
IVisualElementController
Method that is called when the native size of a visual element changes.