<?xml version="1.0" encoding="UTF-8"?>
<!--
 IBNSButton.inspector
 Copyright © 2009-2020 Apple Inc. All rights reserved.
 -->
<slice>
    <section>
        <sliver title="Style">
            <property type="enumeration" placeholder="Bezel" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedStyle" actionSelector="constrainBoundsOfSelectionToNearestLegalSize" >
                <option-group>
                    <option title="Push" value="1" />
                    <option title="Check" value="2" />
                    <option title="Radio" value="3" />
                    <option title="Square" value="5" />
                    <option title="Disclosure Triangle" value="6" />
                    <option title="Help" value="8" />
                    <option title="Gradient" value="9" />
                    <option title="Textured Rounded" value="10" />
                    <option title="Disclosure" value="11" />
                    <option title="Round Rect" value="12" />
                    <option title="Recessed" value="13" />
                    <option title="Inline" value="14" />
                    <option title="Bevel" value="0" />
                </option-group>
                <option-group title="Discouraged Styles">
                    <option title="Round" value="4" />
                    <option title="Textured" value="7" />
                </option-group>
            </property>    
        </sliver>
        <sliver title="Type">
            <property type="enumeration" placeholder="Type" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedBehavior">
                <option-group>
                    <option title="Momentary Push In" value="7" />
                    <option title="Momentary Light" value="6" />
                    <option title="Momentary Change" value="128" />
                    <option title="Push On Push Off" value="31" />
                    <option title="On Off" value="30" />
                    <option title="Toggle" value="161" />
                    <option title="Switch" value="224" />
                    <option title="Radio" value="65760" />
                    <option title="Accelerator" value="262" />
                    <option title="Multi Level Accelerator" value="518" />
                </option-group>
                <option-group>
                    <option title="Other" value="65536" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Levels" visibleKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedMaxAcceleratorLevelIsVisible">
            <property type="number" formatStyle="integer" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.maxAcceleratorLevel" minimumKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedMaxAcceleratorLevelMinimumValue" maximumKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedMaxAcceleratorLevelMaximumValue"/>
        </sliver>
        <sliver title="Visual">
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedBordered" title="Bordered" />
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.transparent" title="Transparent" />
        </sliver>
        <sliver title="State">
            <property type="enumeration" placeholder="State" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.state">
                <option-group enumeratedValuesKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibCellStateValues" enumeratedDisplayValuesKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibCellStateTitles" />
            </property>    
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.allowsMixedState" title="Allows Mixed State"/>
        </sliver>
        <sliver title="Behavior" visibleKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibIsInNSButton">
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.springLoaded" title="Spring Loaded" />
        </sliver>
        <sliver title="Bezel Color" visibleKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedShowBezelColor">
            <property type="ib-named-color" keyPath="inspectedObjectsController.selection.object.ibInspectedControl.bezelColor" supportsNil="YES" defaultColorForNil="YES" />
        </sliver>
    </section>
    <section>
        <sliver title="Title">
            <property type="string" placeholder="Title" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedTitle" />
        </sliver>
        <sliver title="Alternate">
            <property type="string" placeholder="Alternate Title" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibShadowedAlternateTitle" />
        </sliver>
        <sliver title="Alignment">
            <property type="enumeration" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedAlignment">
                <option-group>
                    <option value="0" image="IBAlignTextLeftTemplate" title="Left" />
                    <option value="1" image="IBAlignTextCenterTemplate" title="Center" />
                    <option value="2" image="IBAlignTextRightTemplate" title="Right" />
                    <option value="3" image="IBAlignTextJustifiedTemplate" title="Justified" />
                    <option value="4" image="IBAlignTextNaturalTemplate" title="Natural" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Font">
            <property type="font" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedFont" dataSourceKeyPath="inspectedObjectsController.selection.object.ibFontDataSource" title="Font" actionSelector="constrainBoundsOfSelectionToNearestLegalSize"/>
        </sliver>
    </section>
    <section>
        <sliver fullWidth="true">
            <property type="ib-named-resource" title="Image" placeholder="Image" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedImage" resourceType="image" />
        </sliver>
        <sliver fullWidth="true">
            <property type="ib-named-resource" title="Alternate" placeholder="Alternate Image" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedAlternateImage" resourceType="image" />
        </sliver>
        <sliver>
            <property type="boolean" keyPath="inspectedObjectsController.selection.object.imageHugsTitle" title="Image Hugs Title"/>
        </sliver>
        <sliver title="Position">
            <property type="enumeration" style="popup" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedImagePosition" >
                <option-group>
                    <option value="0" image="IBIconNoneTemplate"  title="No Image" />
                    <option value="1" image="IBIconOnlyTemplate"  title="Image Only" />
                </option-group>
                <option-group>
                    <option value="7" image="IBIconLeadingTemplate"  title="Leading" />
                    <option value="2" image="IBIconLeftTemplate"     title="Left" />
                    <option value="8" image="IBIconTrailingTemplate" title="Trailing" />
                    <option value="3" image="IBIconRightTemplate"    title="Right" />
                    <option value="6" image="IBIconOverTemplate"     title="Overlap" />
                    <option value="5" image="IBIconAboveTemplate"    title="Above" />
                    <option value="4" image="IBIconBelowTemplate"    title="Below" />
                </option-group>
            </property>
        </sliver>
        <sliver title="Scaling">
            <property type="enumeration" placeholder="Image Scaling" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.imageScaling">
                <option-group>
                    <option title="Proportionally Down" value="0" />
                    <option title="Proportionally Up or Down" value="3" />
                    <option title="Axes Independently" value="1" />
                    <option title="None" value="2" />
                </option-group>
            </property>    
        </sliver>
    </section>
    <include fileName="IBNSImageSymbolConfiguration">
        <replaceToken tokenIdentifier="SYMBOL_CONFIGURATION_SECTION_TITLE" replacementString="Symbol Configuration" />
        <replaceToken tokenIdentifier="SYMBOL_CONFIGURATION_OBJECT_KEYPATH_PREFIX" replacementString="ibInspectedControl.ibInspectedSymbolConfiguration" />
        <replaceToken tokenIdentifier="SYMBOL_CONFIGURATION_VISIBLE_KEYPATH" replacementString="ibInspectedControl.ibInspectedAllowsImageSymbolConfiguration" />
    </include>
    <section visibleKeyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibIsInNSButton">
        <sliver title="Tint">
            <property type="ib-named-color" keyPath="inspectedObjectsController.selection.object.ibInspectedControl.ibExternalContentTintColor" supportsNil="YES" defaultColorForNil="YES" />
        </sliver>
    </section>
    <section>
        <sliver title="Sound">
            <property type="ib-resource" placeholder="Sound" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.sound" resourceType="sound" />
        </sliver>
    </section>
    <section>
        <sliver title="Key Equivalent">
            <property type="key-equivalent" keyPath="inspectedObjectsController.selection.object.ibInspectedCell.ibInspectedKeyEquivalent" allowedModifiersMask="0x01A0000"/> <!-- Disallow Control -->
        </sliver>
    </section>
</slice>
