Adobe
9A0-182 · Question #20
You are creating a custom component that extends the SkinnableContainer class. You want to require that the skin of your component use a Spark Button in the layout. What should you do?
The correct answer is C. Define SkinPart metadata to make a Button required. See the full explanation below for the reasoning.
Question
You are creating a custom component that extends the SkinnableContainer class. You want to require that the skin of your component use a Spark Button in the layout. What should you do?
Options
- ADeclare and style the button inside your class file, not in the skin
- BDefine a SkinnableComponent that extends the Button class
- CDefine SkinPart metadata to make a Button required
- DThere is NO way to require a button in a SkinnableContainer skin
How the community answered
(34 responses)- A3% (1)
- B9% (3)
- C74% (25)
- D15% (5)
Community Discussion
No community discussion yet for this question.