-
Notifications
You must be signed in to change notification settings - Fork 12
Extensions
Uses reflection to get an property value of an object using only an string as an identifier. This is to get the appropriate value for RadioButtonGroup.DisplayMemberPath.
Tries to extract a double value from a property on an object. If the property is not a double value,it will use the ToString(). If the ToString is not a double value it will use the defaultValue parameter.
Checks if the current culture is norwegian, will return a boolean value.
Checks if the date occurred to day, will return a boolean value.
Checks if the date occurred yesterday, will return a boolean value.
Checks if the
date occurs tomorrow, will return a boolean value.
Gets the correct day suffix for a date in English.
1st, 2nd, 3rd, 4th
Gets the x position relative to relativeParent of item.
Gets the y position relative to relativeParent of item.
Calculates the relative position of the value regarding max and min.
Gets the parent of a certain type or returns null if no such parent is found above this item.
FromIdentifier (for all DIPS Colors identifiers)
Returns a Color from it's enum identification
usage :
var color = DIPS.Xamarin.UI.Resources.Colors.Theme.Identifier.TealPrimary.FromIdentifier();
- ContentControl
- DataTemplateSelectors
- Date- and TimePicker
- Modality
- Contextual Menus
- RadioButton
- TrendGraph
- Tag
- Toast