title: How do i check the value of checkbox
body: <p>i have a issue here. </p>
  
  <p>I have a check box and i need to know his true value i think this always return true even if the checkbox is unchecked. What would better way to do this?</p>
  
  <pre><code>   private bool _marketingInfo;
  
    public bool MarketingInfo(Checkbox checkbox)
          {
              if (checkBoxMarketing.IsChecked)
              {
                  _marketingInfo = true;
              }
              else
              {
                  _marketingInfo = false;
              }
  
              return _marketingInfo = true;
          }
  </code></pre>