Class Effect
public class Effect : Animatable, INotifyPropertyChanged
- Inheritance
-
Effect
- Implements
- Derived
- Inherited Members
- Extension Methods
Methods
AffectsRender<T>(params AvaloniaProperty[])
Marks a property as affecting the brush's visual representation.
protected static void AffectsRender<T>(params AvaloniaProperty[] properties) where T : Effect
Parameters
properties
AvaloniaProperty[]The properties.
Type Parameters
T
Remarks
After a call to this method in a brush's static constructor, any change to the property will cause the Invalidated event to be raised on the brush.
Parse(string)
public static IEffect Parse(string s)
Parameters
s
string
Returns
RaiseInvalidated(EventArgs)
Raises the Invalidated event.
protected void RaiseInvalidated(EventArgs e)
Parameters
e
EventArgsThe event args.
Events
Invalidated
Raised when the resource changes visually.
public event EventHandler? Invalidated