public void AddItem(RanetCheckedItem item)
 {
     if (this.m_DataSource != null)
     {
         this.m_DataSource.Add(item.Text);      
         this.Items.Add(item);
     }
 }
 public void AddItem(RanetCheckedItem item)
 {
     if (this.m_DataSource != null)
     {
         this.m_DataSource.Add(item.Text);
         this.Items.Add(item);
     }
 }
 protected override DependencyObject GetContainerForItemOverride()
 {
     RanetCheckedItem item = new RanetCheckedItem();
     if (this.ItemContainerStyle != null)
     {
         item.Style = this.ItemContainerStyle;
     }
     return item;
 }
        protected override DependencyObject GetContainerForItemOverride()
        {
            RanetCheckedItem item = new RanetCheckedItem();

            if (this.ItemContainerStyle != null)
            {
                item.Style = this.ItemContainerStyle;
            }
            return(item);
        }