Click or drag to resize

ControlBaseTrySetProperty Method

FOR SCRIPT USE ONLY: Try to set property of ControlBase object.

Namespace: AxiomCore2.Controls
Assembly: Canary.Axiom.Session (in Canary.Axiom.Session.exe) Version: 24.2.0.25008+ff8e4aa4099a8ee136cc622cd96d64cb655090d8
Syntax
C#
public static bool TrySetProperty(
	Object sender,
	string propertyName,
	Object propertyValue,
	UpdateBehavior updateBehavior = null
)

Parameters

sender  Object
ControlBase to set property on.
propertyName  String
Name of property.
propertyValue  Object
Value of property.
updateBehavior  UpdateBehavior  (Optional)
Behavior that will be used when applying property change. Default behavior will be used if not specified.

Return Value

Boolean
True if set succeeded. False if it did not.
See Also