# C1.WPF.Schedule.DayOfMonthValidationRule

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_DayOfMonthValidationRule" data-uid="C1.WPF.Schedule.DayOfMonthValidationRule" class="text-break">DayOfMonthValidationRule Class
</h1>
  <div class="markdown level0 summary"><p>Represents a custom validation rule for strings representing month days.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.validationrule">ValidationRule</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.Schedule.NumberStringValidator.html">NumberStringValidator</a></div>
    <div class="level3"><span class="xref">DayOfMonthValidationRule</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.dll</h6>
  <h5 id="C1_WPF_Schedule_DayOfMonthValidationRule_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DayOfMonthValidationRule : NumberStringValidator</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DayOfMonthValidationRule
    Inherits NumberStringValidator</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Schedule_DayOfMonthValidationRule__ctor" data-uid="C1.WPF.Schedule.DayOfMonthValidationRule.#ctor">
          <a class="xref" href="C1.WPF.Schedule.DayOfMonthValidationRule.-ctor.html#C1_WPF_Schedule_DayOfMonthValidationRule__ctor">DayOfMonthValidationRule()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Schedule_DayOfMonthValidationRule_Month" data-uid="C1.WPF.Schedule.DayOfMonthValidationRule.Month">
          <a class="xref" href="C1.WPF.Schedule.DayOfMonthValidationRule.Month.html#C1_WPF_Schedule_DayOfMonthValidationRule_Month">Month</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.Schedule.DayOfMonthChecker.html">DayOfMonthChecker</a> object holding the month number.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Schedule_DayOfMonthValidationRule_Validate_System_Object_System_Globalization_CultureInfo_" data-uid="C1.WPF.Schedule.DayOfMonthValidationRule.Validate(System.Object,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.WPF.Schedule.DayOfMonthValidationRule.Validate.html#C1_WPF_Schedule_DayOfMonthValidationRule_Validate_System_Object_System_Globalization_CultureInfo_">Validate(object, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs validation checks on a value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
