A container for flavor-specific element data which handles the default element properties.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public abstract class FlavorElement : MarshalByRefObject
<SerializableAttribute> _ Public MustInherit Class FlavorElement _ Inherits MarshalByRefObject
[SerializableAttribute] public ref class FlavorElement abstract : public MarshalByRefObject
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| FlavorElement(String) |
Creates a new flavor element.
| |
| AssertArgumentType(Type, Object) |
Validates the type of an argument.
| |
| AssertArgumentType(Type, Object, Boolean) |
Validates the type of an argument.
| |
| AssertArgumentTypes(array<Type>[]()[], array<Object>[]()[]) |
Validates a list of argument objects against a list of types.
| |
| AssertArgumentTypes(array<Type>[]()[], array<Object>[]()[], array<Boolean>[]()[]) |
Validates a list of argument objects against a list of types.
| |
| AssertEventHandler(Delegate, Type) |
Validates that the given delegate is a valid event handler with the specified type of
event arguments.
| |
| CanReplace(FlavorElement) |
Returns a value specifying if this flavor element can replace elem.
| |
| CreateObjRef(Type) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| DontCache |
Indicates that the element should not be cached. Defaults to false.
| |
| ElementRectangle |
The client or screen rectangle of the flavor element depending on the value
returned by IsClientRectangle.
| |
| Enabled |
True if the element is enabled.
If the element cannot be enabled or disabled, return true.
| |
| EnsureVisible()()() |
Ensures that the flavor element is visible.
| |
| Equals(Object) | (Inherited from Object.) | |
| EvaluateExpensiveAttributes |
Gets a value indicating whether expensive attributes should be evaluated.
| |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Flavor |
The flavor of the flavor element.
| |
| FlavorName |
The flavor name of the flavor element.
| |
| Focus()()() |
Focuses the flavor element, if possible.
| |
| ForceGeometricSearchAll |
Determines if the ElementRectangle is expected to be outside the bounds of its parent rectangle, and might be invisible.
Forces FindChildFromPointByRectangle() to switch to 'search all' behavior.
| |
| GetAttributeValue(Element, String) |
Needs to be implemented for attribute value read access.
| |
| GetChildLineageFromPoint(Point, FindRefineMode%) |
Returns a list of flavor elements that is the lineage to the flavor element
at the specified screen location.
| |
| GetElementCapabilities(Element, Role%, array<String>[]()[]%, String%) |
Supplies the role, a list of capabilities and a preferred capability names to the caller.
This method called when building a new element from the flavor element.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService()()() |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetRuntimeTokenValues()()() |
Gets the runtime token values. This must be implemented by the flavors.
| |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HasFocus |
True if the element has the focus.
| |
| HitTest(Point) |
Performs an optional hit test on a point within the element's rectangle.
The default implementation returns 'true'.
| |
| InitializeLifetimeService()()() |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| InvokeAction(Element, String, array<Object>[]()[]) |
Needs to be implemented for element action invocation.
| |
| IsClientRectangle |
Determines if the ElementRectangle property returns client or screen coordinates.
| |
| IsEqual(FlavorElement) |
Compares to flavor elements. This should be implemented using the best comparison method available.
| |
| MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SetAttributeValue(Element, String, Object) |
Needs to be implemented for attribute value write access.
| |
| SubscribeEvent(Element, String, Delegate) |
Needs to be implemented to provide event subscription.
| |
| ToString()()() | (Inherited from Object.) | |
| UnsubscribeEvent(Element, String, Delegate) |
Needs to be implemented to provide event subscription.
| |
| Valid |
True if the flavor element is still valid.
| |
| Visible |
True if the element is visible.
|
| Object | ||
| MarshalByRefObject | ||
| FlavorElement | ||
