<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="SharedContentRow.lua"></Script>
	
	<Button name="SharedContentRowTemplate" virtual="true">
		<Size x="280" y="22" />
		<Frames>
			<Button parentKey="Collapse" inherits="AddonFactory_ToggleButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" x="7" y="1" />
				</Anchors>
				<Scripts>
					<OnClick>
						self:Toggle()
						
						local parent = self:GetParent()
						parent:Collapse_OnClick()
					</OnClick>
				</Scripts>
			</Button>		
			<CheckButton parentKey="Check" inherits="InterfaceOptionsCheckButtonTemplate">
				<Size x="20" y="20" />
				<Anchors> 
					<Anchor point="TOPLEFT" x="20" y="0"/>
				</Anchors>      
				<Scripts>
					<OnClick>
						local parent = self:GetParent()
						parent:CheckButton_OnClick(self)
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
		<Scripts>
			<OnLoad>
				Altoholic:BindViewToController(self, "AltoholicUI.TabOptions.SharedContentRow")
			</OnLoad>
		</Scripts>
	</Button>
</Ui>
