SetFocusOnLoad Methods |
The SetFocusOnLoad type exposes the following members.
Name | Description | |
---|---|---|
OnAttach |
Occures when the behavior is attached to the object
(Overrides BehaviourTOnAttach.) | |
OnCopy |
Occures after shallow copying the behavior
(Inherited from BehaviourT.) | |
OnDataContextChanged |
Occures if the DataContext of AssociatedObject has changed
(Inherited from BehaviourT.) | |
OnDataContextPropertyChanged |
Occures if the DataContext has invoked the PropertyChanged event
(Inherited from BehaviourT.) | |
OnDetach |
Occures when the behaviour is detached from the object
(Overrides BehaviourTOnDetach.) |
Name | Description | |
---|---|---|
As(Type) | Overloaded.
Converts a type using the implicit or explicit operators. If both fails it will try to
convert the value with ChangeType(Object, Type).
(Defined by ExtensionsConvertions.) | |
As(Type, Type) | Overloaded.
Converts a type using the implicit or explicit operators. If both fails it will try to
convert the value with ChangeType(Object, Type).
(Defined by ExtensionsConvertions.) | |
AsT | Overloaded.
Performs a cast between compatible reference types. If a convertion is not possible then
null is returned. As a last resort it will use ChangeType(Object, Type).
Tries to use the implicit and explicit operators if exists when convertion with 'as'
returns null.
(Defined by ExtensionsConvertions.) | |
AsBitmapImage |
Draws the visuals of a FrameworkElement to a BitmapImage (Defined by Extensions.) | |
CreateTypeT |
Creates a new Type that implements the properties of an interface defined by T
and copies all value of anon to the new object.
(Defined by ExtensionsInterception.) | |
FindVisualChildByName |
Searches for a specified visual element in the child tree by name
(Defined by Extensions.) | |
FindVisualChildren(Type) | Overloaded.
Returns all visual childs and sub child (recursively) of the element that matches the given type
(Defined by Extensions.) | |
FindVisualChildrenT | Overloaded.
Returns all visual childs and sub child (recursively) of the element that matches the given type
(Defined by Extensions.) | |
FindVisualChildrenT(FuncFrameworkElement, Boolean) | Overloaded.
Returns all visual childs and sub child (recursively) of the element that matches the predicate.
(Defined by Extensions.) | |
FindVisualParent(Type) | Overloaded.
Returns the parent object of the specified object by processing the visual tree.
(Defined by Extensions.) | |
FindVisualParentT | Overloaded.
Returns the parent object of the specified object by processing the visual tree.
The difference to FindVisualParent(DependencyObject, Type) is that this also consider sub-classes.
(Defined by Extensions.) | |
FindVisualRootElement |
Climbs up the visual tree and returns the top most visual parent
(Defined by Extensions.) | |
GetDependencyProperties |
Returns all DependendencyProperty fields in UWP and Desktop
(Defined by Extensions.) | |
GetInheritanceContext |
Returns the InheritanceContext of the current DependencyObject (Defined by Extensions.) | |
GetPropertyNonPublicValueT |
Searches for the specified property, using the specified binding constraints and returns
its value.
Default BindingFlags are Instance and NonPublic (Defined by ExtensionsReflection.) | |
GetPropertyValue(String, BindingFlags) | Overloaded.
Searches for the specified property, using the specified binding constraints and returns
its value.
(Defined by ExtensionsReflection.) | |
GetPropertyValueT(String) | Overloaded.
Searches for the specified property, using the specified binding constraints and returns
its value.
Default BindingFlags are Instance and Public (Defined by ExtensionsReflection.) | |
GetPropertyValueT(String, BindingFlags) | Overloaded.
Searches for the specified property, using the specified binding constraints and returns
its value.
(Defined by ExtensionsReflection.) | |
GetValueFromBindingOrProperty |
Gets the value of the FrameworkElement's DependencyProperty. If the DependencyProperty is binded, then it will
return the value of the binding source. If it is not binded, then it will return the value of the DependencyProperty.
(Defined by Extensions.) | |
GetVisualChildren |
Gets the direct visual children of the element
(Defined by Extensions.) | |
GetVisualParent |
Returns the parent object of the specified object by processing the visual tree.
(Defined by Extensions.) | |
MapToT |
Maps all properties and fields of an instance to another instance. The Clone() method is used to copy an instance if exist.
Mapping fails on jagged and multidimensional array. Classes without parameterless constructor will stay null.
(Defined by ExtensionsCloning.) | |
SaveVisualAsPngAsync |
Saves the visuals of a FrameworkElement to a png file
(Defined by Extensions.) | |
SetBinding |
Attaches a binding to a FrameworkElement, using the provided binding object.
(Defined by Extensions.) | |
ToLong | (Defined by ExtensionsConvertions.) | |
ToStringEx(String) | Overloaded.
Converts the value of this instance to its equivalent string representation, using the
specified format.
The following custom formatter are already added: ByteSizeFormatter, MetricUnitFormatter (Defined by Extensions.) | |
ToStringEx(String, CultureInfo) | Overloaded.
Converts the value of this instance to its equivalent string representation, using the
specified format.
The following custom formatter are already added: ByteSizeFormatter, MetricUnitFormatter (Defined by Extensions.) | |
TryDispose |
Tries to performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
This will dispose an object if it implements the IDisposable interface.
(Defined by Extensions.) |
Name | Description | |
---|---|---|
IBehaviourAttach |
Attaches a behaviour to a DependencyObject (Inherited from BehaviourT.) | |
IBehaviourCopy |
Creates a shallow copy of the instance
(Inherited from BehaviourT.) | |
IBehaviourDataContextChanged |
Occures if the data context of the AssociatedObject has changed.
This is only valid if AssociatedObject is a FrameworkElement.
(Inherited from BehaviourT.) | |
IBehaviourDataContextPropertyChanged |
Occurs when a property value changes of the AssociatedObject.DataContext.
This is only valid if AssociatedObject is a FrameworkElement.
(Inherited from BehaviourT.) | |
IBehaviourDetach |
Detaches a behviour from a DependencyObject (Inherited from BehaviourT.) |