{"id":"ui--CreateYuiAuthoredControlBehavior","name":"CreateYuiAuthoredControlBehavior","owner":"yeho","package":"ui","kind":"function","signature":"external CreateYuiAuthoredControlBehavior(text kind, text activationMode, text valueProperty, text fallbackValueProperty, text eventProperty, bool interactive, bool focusable) returns yuiAuthoredControlBehavior","description":"Create yui authored control behavior from the supplied values.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"kind","type":"text","description":"Supply kind as text."},{"name":"activationMode","type":"text","description":"Supply activation mode as text."},{"name":"valueProperty","type":"text","description":"Supply value property as text."},{"name":"fallbackValueProperty","type":"text","description":"Supply fallback value property as text."},{"name":"eventProperty","type":"text","description":"Supply event property as text."},{"name":"interactive","type":"bool","description":"Supply interactive as bool."},{"name":"focusable","type":"bool","description":"Supply focusable as bool."}],"returns":"yuiAuthoredControlBehavior","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/authoring-interaction-00-definitions.yh","line":89,"sha256":"3974d6b85d5d9483bad3e0b4e6403b0c05982f1fd6669babd729e877e9a00c50"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use CreateYuiAuthoredControlBehavior","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\ntext kind = \"kind\"\ntext activationMode = \"activation Mode\"\ntext valueProperty = \"value Property\"\ntext fallbackValueProperty = \"fallback Value Property\"\ntext eventProperty = \"event Property\"\nbool interactive = true\nbool focusable = true\nyuiAuthoredControlBehavior result = CreateYuiAuthoredControlBehavior(kind, activationMode, valueProperty, fallbackValueProperty, eventProperty, interactive, focusable)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__createyuiauthoredcontrolbehavior\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"9c8e5206b7dc4fd6ea0d85a474efbd97ffa9844d25f67d226e4b5a8f0432e4cf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--CreateYuiAuthoredControlBehavior","json":"https://demonhunterlabs.com/reference/items/ui--CreateYuiAuthoredControlBehavior.json","markdown":"https://demonhunterlabs.com/reference/text/ui--CreateYuiAuthoredControlBehavior.md"}
