{"id":"ui--yuiActiveStyleSelection","name":"yuiActiveStyleSelection","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiActiveStyleSelection","description":"A yui active style selection record carrying scope, index, styleCount, style.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"scope","kind":"field","type":"text","description":"Stores scope as text.","signature":"text scope","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"index","kind":"field","type":"int","description":"Stores index as int.","signature":"int index","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"styleCount","kind":"field","type":"int","description":"Stores style count as int.","signature":"int styleCount","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"style","kind":"field","type":"yuiResolvedStyle","description":"Stores style as yuiResolvedStyle.","signature":"yuiResolvedStyle style","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiActiveStyleSelection","kind":"constructor","parameters":[{"name":"scope","type":"text","description":"Scope."},{"name":"index","type":"int","description":"Index."},{"name":"styleCount","type":"int","description":"Style count."},{"name":"style","type":"yuiResolvedStyle","description":"Style."}],"returns":"void","signature":"yuiActiveStyleSelection(text scope, int index, int styleCount, yuiResolvedStyle style)","description":"Yui active style selection.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-5","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/ui.yh","line":509,"sha256":"2745dad504552ce545dea2a953613be247f8b49f1b6712811e0a370cfa9e8575"},"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 yuiActiveStyleSelection","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.\nyuiActiveStyleSelection sample = yuiActiveStyleSelection(\"scope\", 1, 1, yuiResolvedStyle(\"Nova\", yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1)))\nConsole.Log(Text.From(sample.scope))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiactivestyleselection\"\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":"6e5f9a7ce361551e859e4d4b75f12e9e8f0cb7585d04bf1c0a35e2a29dbd4005","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-5","title":"yuiActiveStyleSelection.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiActiveStyleSelection instance = yuiActiveStyleSelection(\"scope\", 1, 1, yuiResolvedStyle(\"Nova\", yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1)))\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiactivestyleselection\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"7b9d3b2676bd1caebf706d5452cd77ee4153076a506c012177e916d8e18a5dee","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["scope","index","styleCount","style","yuiActiveStyleSelection","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiActiveStyleSelection","json":"https://demonhunterlabs.com/reference/items/ui--yuiActiveStyleSelection.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiActiveStyleSelection.md"}
