Skip to content
Browse files

Added correct version of the UI components

  • Loading branch information...
1 parent b5eeefc commit e7a0d2838c0b5a530cd5bd4ab2c290336f954188 @HEskandari HEskandari committed Dec 6, 2010
View
3 Rhino.Licensing.AdminTool/Rhino.Licensing.AdminTool.csproj
@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Rhino.Licensing.AdminTool</RootNamespace>
<AssemblyName>Rhino.Licensing.AdminTool</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
@@ -108,7 +108,6 @@
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Security" />
<Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xaml" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
View
8 Rhino.Licensing.AdminTool/app.config
@@ -1,13 +1,11 @@
<?xml version="1.0"?>
<configuration>
<configSections>
- <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
- <section name="Rhino.Licensing.AdminTool.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+ <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <section name="Rhino.Licensing.AdminTool.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
</configSections>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
- </startup>
+
<applicationSettings>
<Rhino.Licensing.AdminTool.Properties.Settings>
<setting name="DefaultTrialDays" serializeAs="String">
View
BIN SharedLibs/FarsiLibrary.Resources.dll
Binary file not shown.
View
10 SharedLibs/FarsiLibrary.Resources.xml
@@ -21,11 +21,6 @@
<param name="id"></param>
<returns></returns>
</member>
- <member name="T:FarsiLibrary.Resources.StringID">
- <summary>
- Various Strings that could be translater in Localizers.
- </summary>
- </member>
<member name="T:FarsiLibrary.Resources.FALocalizeManager">
<summary>
Localizer class to work with internal localized strings.
@@ -83,5 +78,10 @@
Gets or Sets a new instance of Localizer. If this value is initialized (default is null), Localize Manager class will use the custom class provided, to interpret localized strings.
</summary>
</member>
+ <member name="T:FarsiLibrary.Resources.StringID">
+ <summary>
+ Various Strings that could be translater in Localizers.
+ </summary>
+ </member>
</members>
</doc>
View
BIN SharedLibs/FarsiLibrary.Utils.dll
Binary file not shown.
View
456 SharedLibs/FarsiLibrary.Utils.xml
@@ -4,64 +4,115 @@
<name>FarsiLibrary.Utils</name>
</assembly>
<members>
- <member name="T:FarsiLibrary.Utils.ToWords">
+ <member name="M:FarsiLibrary.Utils.DateTimeExtensions.ToPersianDate(System.DateTime)">
<summary>
- Classes to convert a number to its persian written form. It accepts both an Integer or Long as input parameter.
+ Converts the DateTime to a PersianDate equivalant.
</summary>
- <exception>Thrown when input number is larger than 999999999999</exception>
- <example>
- An example on how to convert a Integer number to words.
- <code>
- class MyClass
- {
- public static void Main()
- {
- Console.WriteLine(FarsiLibrary.Utils.ToWords.ToString(1452));
- }
- }
- </code>
- </example>
- <exception cref="T:System.ArgumentOutOfRangeException"></exception>
+ <param name="dateTime"></param>
+ <returns></returns>
</member>
- <member name="M:FarsiLibrary.Utils.ToWords.ToString(System.Int32)">
- <overloads>Has two overloads.</overloads>
- <summary>Converts an integer number to its written form in Persian</summary>
- <param name="x"></param>
+ <member name="M:FarsiLibrary.Utils.DateTimeExtensions.ToDateTime(FarsiLibrary.Utils.PersianDate)">
+ <summary>
+ Converts the PersianDate to a DateTime equivalant.
+ </summary>
+ <param name="persianDate"></param>
<returns></returns>
</member>
- <member name="M:FarsiLibrary.Utils.ToWords.ToString(System.Int64)">
- <summary>Converts a long number to its written form in Persian</summary>
- <param name="x"></param>
+ <member name="T:FarsiLibrary.Utils.Internals.CultureHelper">
+ <summary>
+ Base culture information
+ </summary>
+ </member>
+ <member name="M:FarsiLibrary.Utils.Internals.CultureHelper.GetDayOfWeek(System.DateTime,System.Globalization.Calendar)">
+ <summary>
+ Returns the day of week based on calendar.
+ </summary>
+ <param name="dt"></param>
+ <param name="calendar"></param>
<returns></returns>
- <exception cref="T:System.ArgumentOutOfRangeException"></exception>
</member>
- <member name="P:FarsiLibrary.Utils.Formatter.ITimeUnit.MillisPerUnit">
+ <member name="M:FarsiLibrary.Utils.Internals.CultureHelper.GetCultureDayOfWeek(System.Int32,System.Globalization.CultureInfo)">
+ <summary>
+ Finds the corresponding DayOfWeek in specified culture
+ </summary>
+ <param name="day"></param>
+ <param name="culture"></param>
+ <returns></returns>
+ </member>
+ <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.CurrentCulture">
+ <summary>
+ Currently selected UICulture
+ </summary>
+ </member>
+ <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.ArabicCulture">
+ <summary>
+ Instance of Arabic culture
+ </summary>
+ </member>
+ <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.FarsiCulture">
<summary>
- The number of milliseconds represented by each
- instance of this TimeUnit.
+ Instance of Farsi culture
</summary>
</member>
- <member name="P:FarsiLibrary.Utils.Formatter.ITimeUnit.MaxQuantity">
+ <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.PersianCulture">
<summary>
- The maximum quantity of this Unit to be used as a threshold for the next
- largest Unit (e.g. if one <code>Second</code> represents 1000ms, and
- <code>Second</code> has a maxQuantity of 5, then if the difference
- between compared timestamps is larger than 5000ms, PrettyTime will move
- on to the next smallest TimeUnit for calculation; <code>Minute</code>, by
- default)
+ Instance of Persian Culture with correct date formatting.
</summary>
</member>
- <member name="P:FarsiLibrary.Utils.Formatter.ITimeUnit.Name">
+ <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.NeutralCulture">
<summary>
- The grammatically singular name for this unit of time. (e.g. one "second")
+ Instance of Neutral culture
</summary>
</member>
- <member name="P:FarsiLibrary.Utils.Formatter.ITimeUnit.PluralName">
+ <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.CurrentCalendar">
<summary>
- The grammatically plural name for this unit of time. (e.g. many "seconds")
+ Returns the default calendar for the current culture.
</summary>
<returns></returns>
</member>
+ <member name="T:FarsiLibrary.Utils.Internals.Guard">
+ <summary>
+ Helper class for guard statements, which allow prettier
+ code for guard clauses
+ </summary>
+ </member>
+ <member name="M:FarsiLibrary.Utils.Internals.Guard.Against(System.Boolean,System.String)">
+ <summary>
+ Will throw a <see cref="T:System.InvalidOperationException"/> if the assertion
+ is true, with the specificied message.
+ </summary>
+ <param name="assertion">if set to <c>true</c> [assertion].</param>
+ <param name="message">The message.</param>
+ <example>
+ Sample usage:
+ <code>
+ Guard.Against(string.IsNullOrEmpty(name), "Name must have a value");
+ </code>
+ </example>
+ </member>
+ <member name="M:FarsiLibrary.Utils.Internals.Guard.Against``1(System.Boolean,System.String)">
+ <summary>
+ Will throw exception of type <typeparamref name="TException"/>
+ with the specified message if the assertion is true
+ </summary>
+ <typeparam name="TException"></typeparam>
+ <param name="assertion">if set to <c>true</c> [assertion].</param>
+ <param name="message">The message.</param>
+ <example>
+ Sample usage:
+ <code>
+ <![CDATA[
+ Guard.Against<ArgumentException>(string.IsNullOrEmpty(name), "Name must have a value");
+ ]]>
+ </code>
+ </example>
+ </member>
+ <member name="T:FarsiLibrary.Utils.Internals.ThemeWrapper">
+ <summary>
+ A wrapper around Win32 Theming. Return which theme is
+ currently active.
+ </summary>
+ </member>
<member name="T:FarsiLibrary.Utils.PersianCalendar">
<summary>
PersianCalendar calendar. Persian calendar, also named Jalaali calendar, was first based on Solar year by Omar Khayyam, the great Iranian poet, astrologer and scientist.
@@ -300,119 +351,53 @@
<property_value>The last year of a 100-year range that can be represented by a 2-digit year.</property_value>
<remarks>This property allows a 2-digit year to be properly translated to a 4-digit year. For example, if this property is set to 1429, the 100-year range is from 1330 to 1429; therefore, a 2-digit value of 30 is interpreted as 1330, while a 2-digit value of 29 is interpreted as 1429.</remarks>
</member>
- <member name="T:FarsiLibrary.Utils.PersianDateConverter">
- <summary>Class to convert PersianDate into normal DateTime value and vice versa.
- <seealso cref="T:FarsiLibrary.Utils.PersianDate"/>
- </summary>
- <remarks>
- You can use <c>FarsiLibrary.Utils.FarsiDate.Now</c> property to access current Date.
- </remarks>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.JLeap(System.Int32)">
- <summary>
- Checks if a specified Persian year is a leap one.
- </summary>
- <param name="jyear"></param>
- <returns>returns 1 if the year is leap, otherwise returns 0.</returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.IsJLeapYear(System.Int32)">
- <summary>
- Checks if a year is a leap one.
- </summary>
- <param name="jyear">Year to check</param>
- <returns>true if the year is leap</returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.GLeap(System.Int32)">
- <summary>
- Checks if a specified Gregorian year is a leap one.
- </summary>
- <param name="gyear"></param>
- <returns>returns 1 if the year is leap, otherwise returns 0.</returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToPersianDate(System.String)">
- <summary>Converts a Gregorian Date of type <c>System.DateTime</c> class to Persian Date.</summary>
- <param name="date">DateTime to evaluate</param>
- <returns>string representation of Jalali Date</returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToPersianDate(System.String,System.TimeSpan)">
- <summary>
- Converts a Gregorian Date of type <c>String</c> and a <c>TimeSpan</c> into a Persian Date.
- </summary>
- <param name="date"></param>
- <param name="time"></param>
- <returns></returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToPersianDate(System.DateTime)">
- <summary>
- Converts a Gregorian Date of type <c>String</c> class to Persian Date.
- </summary>
- <param name="dt">Date to evaluate</param>
- <returns>string representation of Jalali Date.</returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToGregorianDateTime(System.String)">
- <summary>
- Converts a Persian Date of type <c>String</c> to Gregorian Date of type <c>DateTime</c> class.
- </summary>
- <param name="date">Date to evaluate</param>
- <returns>Gregorian DateTime representation of evaluated Jalali Date.</returns>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToGregorianDate(FarsiLibrary.Utils.PersianDate)">
+ <member name="T:FarsiLibrary.Utils.PersianCultureInfo">
<summary>
- Converts a Persian Date of type <c>String</c> to Gregorian Date of type <c>String</c>.
+ CultureInfo for "FA-IR" culture, which has correct calendar information.
</summary>
- <param name="date"></param>
- <returns>Gregorian DateTime representation in string format of evaluated Jalali Date.</returns>
</member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.DayOfWeek(System.DateTime)">
+ <member name="M:FarsiLibrary.Utils.PersianCultureInfo.#ctor">
<summary>
- Gets Persian Weekday name from specified Gregorian Date.
+ Initializes a new instance of the <see cref="T:FarsiLibrary.Utils.PersianCultureInfo"/> class.
</summary>
- <param name="date"></param>
- <returns></returns>
</member>
- <member name="M:FarsiLibrary.Utils.PersianDateConverter.MonthDays(System.Int32)">
+ <member name="M:FarsiLibrary.Utils.PersianCultureInfo.Clone">
<summary>
- Returns number of days in specified month number.
+ Creates a copy of the current <see cref="T:System.Globalization.CultureInfo"/>.
</summary>
- <param name="MonthNo">Month no to evaluate in integer</param>
- <returns>number of days in the evaluated month</returns>
+ <returns>
+ A copy of the current <see cref="T:System.Globalization.CultureInfo"/>.
+ </returns>
</member>
- <member name="T:FarsiLibrary.Utils.Internals.Guard">
+ <member name="P:FarsiLibrary.Utils.PersianCultureInfo.Calendar">
<summary>
- Helper class for guard statements, which allow prettier
- code for guard clauses
+ Gets the default calendar used by the culture.
</summary>
+ <value></value>
+ <returns>
+ A <see cref="T:System.Globalization.Calendar"/> that represents the default calendar used by the culture.
+ </returns>
</member>
- <member name="M:FarsiLibrary.Utils.Internals.Guard.Against(System.Boolean,System.String)">
+ <member name="P:FarsiLibrary.Utils.PersianCultureInfo.OptionalCalendars">
<summary>
- Will throw a <see cref="T:System.InvalidOperationException"/> if the assertion
- is true, with the specificied message.
+ Gets the list of calendars that can be used by the culture.
</summary>
- <param name="assertion">if set to <c>true</c> [assertion].</param>
- <param name="message">The message.</param>
- <example>
- Sample usage:
- <code>
- Guard.Against(string.IsNullOrEmpty(name), "Name must have a value");
- </code>
- </example>
+ <value></value>
+ <returns>
+ An array of type <see cref="T:System.Globalization.Calendar"/> that represents the calendars that can be used by the culture represented by the current <see cref="T:System.Globalization.CultureInfo"/>.
+ </returns>
</member>
- <member name="M:FarsiLibrary.Utils.Internals.Guard.Against``1(System.Boolean,System.String)">
+ <member name="P:FarsiLibrary.Utils.PersianCultureInfo.DateTimeFormat">
<summary>
- Will throw exception of type <typeparamref name="TException"/>
- with the specified message if the assertion is true
+ Gets or sets a <see cref="T:System.Globalization.DateTimeFormatInfo"/> that defines the culturally appropriate format of displaying dates and times.
</summary>
- <typeparam name="TException"></typeparam>
- <param name="assertion">if set to <c>true</c> [assertion].</param>
- <param name="message">The message.</param>
- <example>
- Sample usage:
- <code>
- <![CDATA[
- Guard.Against<ArgumentException>(string.IsNullOrEmpty(name), "Name must have a value");
- ]]>
- </code>
- </example>
+ <value></value>
+ <returns>
+ A <see cref="T:System.Globalization.DateTimeFormatInfo"/> that defines the culturally appropriate format of displaying dates and times.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">
+ The property is set to null.
+ </exception>
</member>
<member name="T:FarsiLibrary.Utils.PersianDate">
<summary>
@@ -507,12 +492,6 @@
</summary>
<returns></returns>
</member>
- <member name="M:FarsiLibrary.Utils.PersianDate.ToPrettyDate">
- <summary>
- Returns a pretty representation of this date instance
- </summary>
- <returns></returns>
- </member>
<member name="M:FarsiLibrary.Utils.PersianDate.TryParse(System.String,FarsiLibrary.Utils.PersianDate@)">
<summary>
Tries to parse a string value into a PersianDate instance.
@@ -761,139 +740,82 @@
Number of days in this month.
</summary>
</member>
- <member name="T:FarsiLibrary.Utils.PersianCultureInfo">
- <summary>
- CultureInfo for "FA-IR" culture, which has correct calendar information.
- </summary>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianCultureInfo.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:FarsiLibrary.Utils.PersianCultureInfo"/> class.
- </summary>
- </member>
- <member name="M:FarsiLibrary.Utils.PersianCultureInfo.Clone">
- <summary>
- Creates a copy of the current <see cref="T:System.Globalization.CultureInfo"/>.
- </summary>
- <returns>
- A copy of the current <see cref="T:System.Globalization.CultureInfo"/>.
- </returns>
- </member>
- <member name="P:FarsiLibrary.Utils.PersianCultureInfo.Calendar">
- <summary>
- Gets the default calendar used by the culture.
- </summary>
- <value></value>
- <returns>
- A <see cref="T:System.Globalization.Calendar"/> that represents the default calendar used by the culture.
- </returns>
- </member>
- <member name="P:FarsiLibrary.Utils.PersianCultureInfo.OptionalCalendars">
- <summary>
- Gets the list of calendars that can be used by the culture.
- </summary>
- <value></value>
- <returns>
- An array of type <see cref="T:System.Globalization.Calendar"/> that represents the calendars that can be used by the culture represented by the current <see cref="T:System.Globalization.CultureInfo"/>.
- </returns>
- </member>
- <member name="P:FarsiLibrary.Utils.PersianCultureInfo.DateTimeFormat">
- <summary>
- Gets or sets a <see cref="T:System.Globalization.DateTimeFormatInfo"/> that defines the culturally appropriate format of displaying dates and times.
- </summary>
- <value></value>
- <returns>
- A <see cref="T:System.Globalization.DateTimeFormatInfo"/> that defines the culturally appropriate format of displaying dates and times.
- </returns>
- <exception cref="T:System.ArgumentNullException">
- The property is set to null.
- </exception>
- </member>
- <member name="M:FarsiLibrary.Utils.DateTimeExtensions.ToPersianDate(System.DateTime)">
- <summary>
- Converts the DateTime to a PersianDate equivalant.
- </summary>
- <param name="dateTime"></param>
- <returns></returns>
- </member>
- <member name="M:FarsiLibrary.Utils.DateTimeExtensions.ToDateTime(FarsiLibrary.Utils.PersianDate)">
- <summary>
- Converts the PersianDate to a DateTime equivalant.
+ <member name="T:FarsiLibrary.Utils.PersianDateConverter">
+ <summary>Class to convert PersianDate into normal DateTime value and vice versa.
+ <seealso cref="T:FarsiLibrary.Utils.PersianDate"/>
</summary>
- <param name="persianDate"></param>
- <returns></returns>
+ <remarks>
+ You can use <c>FarsiLibrary.Utils.FarsiDate.Now</c> property to access current Date.
+ </remarks>
</member>
- <member name="M:FarsiLibrary.Utils.Formatter.ITimeFormat.Format(FarsiLibrary.Utils.Formatter.Duration)">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.JLeap(System.Int32)">
<summary>
- Formats a duration
+ Checks if a specified Persian year is a leap one.
</summary>
- <param name="duration"></param>
- <returns></returns>
+ <param name="jyear"></param>
+ <returns>returns 1 if the year is leap, otherwise returns 0.</returns>
</member>
- <member name="M:FarsiLibrary.Utils.Internals.Util.toDouble(System.Int32)">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.IsJLeapYear(System.Int32)">
<summary>
- Adds a preceding zero to single day or months
+ Checks if a year is a leap one.
</summary>
- <param name="i"></param>
- <returns></returns>
+ <param name="jyear">Year to check</param>
+ <returns>true if the year is leap</returns>
</member>
- <member name="T:FarsiLibrary.Utils.Internals.CultureHelper">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.GLeap(System.Int32)">
<summary>
- Base culture information
+ Checks if a specified Gregorian year is a leap one.
</summary>
+ <param name="gyear"></param>
+ <returns>returns 1 if the year is leap, otherwise returns 0.</returns>
</member>
- <member name="M:FarsiLibrary.Utils.Internals.CultureHelper.GetDayOfWeek(System.DateTime,System.Globalization.Calendar)">
- <summary>
- Returns the day of week based on calendar.
- </summary>
- <param name="dt"></param>
- <param name="calendar"></param>
- <returns></returns>
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToPersianDate(System.String)">
+ <summary>Converts a Gregorian Date of type <c>System.DateTime</c> class to Persian Date.</summary>
+ <param name="date">DateTime to evaluate</param>
+ <returns>string representation of Jalali Date</returns>
</member>
- <member name="M:FarsiLibrary.Utils.Internals.CultureHelper.GetCultureDayOfWeek(System.Int32,System.Globalization.CultureInfo)">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToPersianDate(System.String,System.TimeSpan)">
<summary>
- Finds the corresponding DayOfWeek in specified culture
+ Converts a Gregorian Date of type <c>String</c> and a <c>TimeSpan</c> into a Persian Date.
</summary>
- <param name="day"></param>
- <param name="culture"></param>
+ <param name="date"></param>
+ <param name="time"></param>
<returns></returns>
</member>
- <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.CurrentCulture">
- <summary>
- Currently selected UICulture
- </summary>
- </member>
- <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.ArabicCulture">
- <summary>
- Instance of Arabic culture
- </summary>
- </member>
- <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.FarsiCulture">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToPersianDate(System.DateTime)">
<summary>
- Instance of Farsi culture
+ Converts a Gregorian Date of type <c>String</c> class to Persian Date.
</summary>
+ <param name="dt">Date to evaluate</param>
+ <returns>string representation of Jalali Date.</returns>
</member>
- <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.PersianCulture">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToGregorianDateTime(System.String)">
<summary>
- Instance of Persian Culture with correct date formatting.
+ Converts a Persian Date of type <c>String</c> to Gregorian Date of type <c>DateTime</c> class.
</summary>
+ <param name="date">Date to evaluate</param>
+ <returns>Gregorian DateTime representation of evaluated Jalali Date.</returns>
</member>
- <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.NeutralCulture">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.ToGregorianDate(FarsiLibrary.Utils.PersianDate)">
<summary>
- Instance of Neutral culture
+ Converts a Persian Date of type <c>String</c> to Gregorian Date of type <c>String</c>.
</summary>
+ <param name="date"></param>
+ <returns>Gregorian DateTime representation in string format of evaluated Jalali Date.</returns>
</member>
- <member name="P:FarsiLibrary.Utils.Internals.CultureHelper.CurrentCalendar">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.DayOfWeek(System.DateTime)">
<summary>
- Returns the default calendar for the current culture.
+ Gets Persian Weekday name from specified Gregorian Date.
</summary>
+ <param name="date"></param>
<returns></returns>
</member>
- <member name="T:FarsiLibrary.Utils.Internals.ThemeWrapper">
+ <member name="M:FarsiLibrary.Utils.PersianDateConverter.MonthDays(System.Int32)">
<summary>
- A wrapper around Win32 Theming. Return which theme is
- currently active.
+ Returns number of days in specified month number.
</summary>
+ <param name="MonthNo">Month no to evaluate in integer</param>
+ <returns>number of days in the evaluated month</returns>
</member>
<member name="M:FarsiLibrary.Utils.Internals.ReflectionHelper.GetField(System.Type,System.String)">
<summary>
@@ -954,6 +876,19 @@
<param name="propName"></param>
<returns></returns>
</member>
+ <member name="T:FarsiLibrary.Utils.toEnglish">
+ <summary>
+ Helper class to convert numbers to it's farsi equivalent. Use this class' methods to overcome a problem in displaying farsi numeric values.
+ </summary>
+ </member>
+ <member name="M:FarsiLibrary.Utils.toEnglish.Convert(System.String)">
+ <summary>
+ Converts a Farsi number to it's English numeric values.
+ </summary>
+ <remarks>This method only converts the numbers in a string, and does not convert any non-numeric characters.</remarks>
+ <param name="num"></param>
+ <returns></returns>
+ </member>
<member name="T:FarsiLibrary.Utils.toFarsi">
<summary>
Helper class to convert numbers to it's farsi equivalent. Use this class' methods to overcome a problem in displaying farsi numeric values.
@@ -975,17 +910,42 @@
<param name="num"></param>
<returns></returns>
</member>
- <member name="T:FarsiLibrary.Utils.toEnglish">
+ <member name="T:FarsiLibrary.Utils.ToWords">
<summary>
- Helper class to convert numbers to it's farsi equivalent. Use this class' methods to overcome a problem in displaying farsi numeric values.
+ Classes to convert a number to its persian written form. It accepts both an Integer or Long as input parameter.
</summary>
+ <exception>Thrown when input number is larger than 999999999999</exception>
+ <example>
+ An example on how to convert a Integer number to words.
+ <code>
+ class MyClass
+ {
+ public static void Main()
+ {
+ Console.WriteLine(FarsiLibrary.Utils.ToWords.ToString(1452));
+ }
+ }
+ </code>
+ </example>
+ <exception cref="T:System.ArgumentOutOfRangeException"></exception>
</member>
- <member name="M:FarsiLibrary.Utils.toEnglish.Convert(System.String)">
+ <member name="M:FarsiLibrary.Utils.ToWords.ToString(System.Int32)">
+ <overloads>Has two overloads.</overloads>
+ <summary>Converts an integer number to its written form in Persian</summary>
+ <param name="x"></param>
+ <returns></returns>
+ </member>
+ <member name="M:FarsiLibrary.Utils.ToWords.ToString(System.Int64)">
+ <summary>Converts a long number to its written form in Persian</summary>
+ <param name="x"></param>
+ <returns></returns>
+ <exception cref="T:System.ArgumentOutOfRangeException"></exception>
+ </member>
+ <member name="M:FarsiLibrary.Utils.Internals.Util.toDouble(System.Int32)">
<summary>
- Converts a Farsi number to it's English numeric values.
+ Adds a preceding zero to single day or months
</summary>
- <remarks>This method only converts the numbers in a string, and does not convert any non-numeric characters.</remarks>
- <param name="num"></param>
+ <param name="i"></param>
<returns></returns>
</member>
</members>
View
BIN SharedLibs/FarsiLibrary.WPF.dll
Binary file not shown.
View
580 SharedLibs/FarsiLibrary.WPF.xml
@@ -4,91 +4,119 @@
<name>FarsiLibrary.WPF</name>
</assembly>
<members>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.CompareYearMonth(System.DateTime,System.DateTime)">
+ <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.#ctor(FarsiLibrary.WPF.Controls.FXDatePicker)">
<summary>
- Compare the year and month of dt1 and dt2
+ Creates a new instance of FXDatePickerAutomationPeer
</summary>
- <returns>
- less than 0 : dt1 &lt; dt2;
- equal 0 : dt1 == dt2;
- greater than 0 : dt1 &gt; dt2
- </returns>
+ <param name="owner"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.CompareYearMonthDay(System.DateTime,System.DateTime)">
+ <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetPattern(System.Windows.Automation.Peers.PatternInterface)">
<summary>
- Compare the year,month,day of dt1 and dt2
+ Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
</summary>
- <returns>
- less than 0 : dt1 &lt; dt2;
- equal 0 : dt1 == dt2;
- greater than 0 : dt1 &gt; dt2
- </returns>
+ <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
+ <returns>The object that supports the specified pattern, or null if unsupported.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.SubtractByMonth(System.DateTime,System.DateTime)">
+ <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetAutomationControlTypeCore">
<summary>
- dt1 subtract dt2 to get the month count between them
+ Gets the control type for the element that is associated with the UI Automation peer.
</summary>
- <returns>the months between dt1 and dt2</returns>
+ <returns>The control type.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.IsWithinRange(System.DateTime,System.DateTime,System.DateTime)">
+ <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetClassNameCore">
<summary>
- True if date is between start and end
+ Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
+ differentiates the control represented by this AutomationPeer.
</summary>
+ <returns>The string that contains the name.</returns>
</member>
- <member name="T:FarsiLibrary.WPF.Controls.DateSelectionChangedEventHandler">
+ <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetLocalizedControlTypeCore">
<summary>
- The delegate type for handling a selection changed event
+ Overrides the GetLocalizedControlTypeCore method for DatePicker
</summary>
+ <returns></returns>
</member>
- <member name="T:FarsiLibrary.WPF.Controls.InvalidEntryEventHandler">
+ <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetNameCore">
<summary>
- The delegate type for handling the InvalidEntry event
+ GetNameCore
</summary>
+ <returns></returns>
</member>
- <member name="T:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs">
+ <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.#ctor(FarsiLibrary.WPF.Controls.FXMonthView)">
<summary>
- The InvalidEntry event args, occurs when the datepicker can't parse user input string correctly
+ Initializes a new instance of the FXMonthViewAutomationPeer class.
+ </summary>
+ <param name="owner">Owning MonthView control</param>
+ </member>
+ <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetPattern(System.Windows.Automation.Peers.PatternInterface)">
+ <summary>
+ Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
</summary>
+ <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
+ <returns>The object that supports the specified pattern, or null if unsupported.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs.#ctor(System.Windows.RoutedEvent,System.String)">
+ <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetAutomationControlTypeCore">
+ <summary>
+ Gets the control type for the element that is associated with the UI Automation peer.
+ </summary>
+ <returns>The control type.</returns>
+ </member>
+ <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetClassNameCore">
+ <summary>
+ Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
+ differentiates the control represented by this AutomationPeer.
+ </summary>
+ <returns>The string that contains the name.</returns>
+ </member>
+ <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetNameCore">
+ <summary>
+
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:FarsiLibrary.WPF.Base.TextCell.#cctor">
<summary>
Ctor
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs.InvokeEventHandler(System.Delegate,System.Object)">
+ <member name="P:FarsiLibrary.WPF.Base.TextCell.IsSelected">
<summary>
- This method is used to perform the proper type casting in order to
- call the type-safe InvalidEntryEventHandler delegate for the InvalidEntry event.
+ IsSelected
</summary>
- <param name="genericHandler">The handler to invoke.</param>
- <param name="genericTarget">The current object along the event's route.</param>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs.Entry">
+ <member name="P:FarsiLibrary.WPF.Base.TextCell.CellCornerRadius">
<summary>
- The input string
+ CornerRadius
</summary>
</member>
- <member name="T:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs">
+ <member name="P:FarsiLibrary.WPF.Base.TextCell.Text">
<summary>
- The inputs to a selection changed event handler
+ Text
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs.#ctor(System.Windows.RoutedEvent,System.Collections.Generic.IEnumerable{System.Nullable{System.DateTime}},System.Collections.Generic.IEnumerable{System.Nullable{System.DateTime}})">
+ <member name="P:FarsiLibrary.WPF.Base.TextCell.TextAlignment">
<summary>
- The constructor for date selection changed args
+ TextAlignment
</summary>
- <param name="id">The event ID for the event about to fire -- should probably be MonthCalendar.DateSelectionChangedEventID</param>
- <param name="removedDates">The dates that were unselected during this event</param>
- <param name="addedDates">The dates that were selected during this event</param>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs.RemovedDates">
+ <member name="T:FarsiLibrary.WPF.Controls.ThemeColor">
<summary>
- An IList containing the dates that were unselected during this event
+ WindowsXP standard theme colors
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs.AddedDates">
+ <member name="F:FarsiLibrary.WPF.Controls.ThemeColor.NormalColor">
<summary>
- An IList containing the dates that were selected during this event
+ Normal Color
+ </summary>
+ </member>
+ <member name="F:FarsiLibrary.WPF.Controls.ThemeColor.Homestead">
+ <summary>
+ Homestead
+ </summary>
+ </member>
+ <member name="F:FarsiLibrary.WPF.Controls.ThemeColor.Metallic">
+ <summary>
+ Metallic
</summary>
</member>
<member name="T:FarsiLibrary.WPF.Converters.DateTimeValueConverter">
@@ -116,524 +144,496 @@
<param name="culture"></param>
<returns>DateTime or null</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Base.TextCell.#cctor">
+ <member name="T:FarsiLibrary.WPF.Controls.FXDatePicker">
<summary>
- Ctor
+ The FXDatePicker control allows the user to enter or select a date and display it in
+ the specified format. User can limit the date that can be selected by setting the
+ selection range. You might consider using a FXDatePicker control instead of a MonthView
+ if you need custom date formatting and limit the selection to just one date.
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Base.TextCell.IsSelected">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.#cctor">
<summary>
- IsSelected
+ Ctor
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Base.TextCell.CellCornerRadius">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnApplyTemplate">
<summary>
- CornerRadius
+ Called when the Template's tree has been generated
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Base.TextCell.Text">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.ToString">
<summary>
- Text
+ Returns a string representation for this control. "FXDatePicker, SelectedDateTime:06/02/2006"
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Base.TextCell.TextAlignment">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnLostMouseCapture(System.Windows.Input.MouseEventArgs)">
<summary>
- TextAlignment
+ Close the dropdown content if FXDatePicker lost the mouse capture
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthViewWeekDayHeaderCell.DayNo">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.CoerceIsDropDownOpen(System.Windows.DependencyObject,System.Object)">
<summary>
- DayNo
+ Coerce IsDropDownOpen with IsLoaded, so set IsDropDownOpen to true before UI ready can work
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.#cctor">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnSelectedDateTimeChanged(System.Windows.RoutedPropertyChangedEventArgs{System.Nullable{System.DateTime}})">
<summary>
- Ctor
+ This method is invoked when the SelectedDateTime property changes.
</summary>
+ <param name="e">RoutedPropertyChangedEventArgs contains the old and new value.</param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.#ctor">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnDropDownOpened(System.Windows.RoutedEventArgs)">
<summary>
- Ctor
+ Raise DropDownOpened event
</summary>
+ <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.OnApplyTemplate">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnDropDownClosed(System.Windows.RoutedEventArgs)">
<summary>
- When overridden in a derived class, is invoked whenever application code or internal processes call <see cref="M:System.Windows.FrameworkElement.ApplyTemplate"></see>.
+ Raise DropDownClosed event
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaisePreviewSelectedDateTimeChanged(FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnInvalidEntry(FarsiLibrary.WPF.Controls.InvalidEntryEventArgs)">
<summary>
- Raise PreviewSelectedDateTimeChanged event.
+ This event is invoked when datepicker can't parse the input string correctly
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaiseSelectedDateTimeChanged(FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.AttachToVisualTree">
<summary>
- Raise SelectedDateTimeChanged event.
+ Detaches the EditableTextBox, MonthView from old child tree and attaches them to a new one
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaisePreviewViewDateTimeChanged(System.Windows.RoutedPropertyChangedEventArgs{System.DateTime})">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.DetachFromVisualTree">
<summary>
- Raise PreviewViewDateTimeChanged event.
+ Clear the event, and detach our current EditableTextBox from ComboBox
</summary>
- <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaiseViewDateTimeChanged(System.Windows.RoutedPropertyChangedEventArgs{System.DateTime})">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnMouseButtonDown(System.Object,System.Windows.Input.MouseButtonEventArgs)">
<summary>
- Raise ViewDateTimeChanged event.
+ If we (or one of our children) are clicked, claim the focus
</summary>
- <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.OnContainerSelectionChanged(System.Object,System.Windows.Controls.SelectionChangedEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.IsDescendant(System.Windows.Media.Visual,System.Windows.Media.Visual)">
<summary>
- Sync selected value of container control with the SelectedDateTime property.
+ True, if node is derived from reference
</summary>
- <param name="sender"></param>
- <param name="e"></param>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.PreviewSelectedDateTimeChanged">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.KeyDownHandler(System.Object,System.Windows.Input.KeyEventArgs)">
<summary>
- Fired when previewing SelectedDateTimeChanged
+ Called when a key event occurs.
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.SelectedDateTimeChanged">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.KeyboardToggleDropDown(System.Boolean,System.Boolean)">
<summary>
- Fired when the SelectedDateTime property is changed
+ Close the dropdown and commit the selection if requested.
+ Make sure to set the selection after the dropdown has closed
+ Don't trigger any unnecessary navigation as a result of changing the selection.
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.PreviewViewDateTimeChanged">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.SelectFocusableDate">
<summary>
- Fired when previewing ViewDateTime changed event.
+ Select the focusable date
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.ViewDateTimeChanged">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.IsFocusable(System.Windows.FrameworkElement)">
<summary>
- Fired when ViewDateTime is changed
+ True if the element can be focused
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.RecreatingView">
+ <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.DoFormat">
<summary>
- Recreating View event.
+ Format SelectedDateTime property to a formatted string
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewYear">
+ <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.DropDownOpened">
<summary>
- View Year
+ Add / Remove DropDownOpened handler
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewMonth">
+ <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.DropDownClosed">
<summary>
- View Month
+ Add / Remove DropDownClosed handler
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewDay">
+ <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.InvalidEntry">
<summary>
- View Day
+ Add / Remove InvalidEntry handler
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewDateTime">
+ <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.SelectedDateTimeChanged">
<summary>
- Preview DateTime
+ An event reporting that the SelectedDateTime property changed.
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.SelectedDateTime">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.SelectedDateTime">
<summary>
- SelectedDateTime
+ The DateTime value of FXDatePicker
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ShowTodayButton">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.MinDate">
<summary>
- Show Today Button
+ The min date of FXDatePicker
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ShowEmptyButton">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.MaxDate">
<summary>
- Show Empty Button
+ The max date of FXDatePicker
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ShowWeekDayNames">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ViewDateTime">
<summary>
- ShowWeekDayNames
+ Preview DateTime
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ButtonStyle">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ShowTodayButton">
<summary>
- Button Styles
+ Show Today Button
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.WeekDayHeaderStyle">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ShowEmptyButton">
<summary>
- DayHeaderStyle property
+ Show Empty Button
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.HeaderMonthStyle">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ShowWeekDayNames">
<summary>
- Header Month Style property
+ ShowWeekDayNames
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayContainerStyle">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.DateConverter">
<summary>
- Day Container Style
+ This property is used to parse/format between SelectedDateTime and text
</summary>
+ <remarks>
+ ConvertBack is used to customize the parsing logic
+ Convert is used to customimze the formatting logic
+ If the converter can't parse the input text correctly, throw FormatException will fire InvalidEntry event
+ </remarks>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.HeaderYearStyle">
- <summary>
- Header Year Style property
- </summary>
- </member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayContainerStyleSelector">
- <summary>
- Day Container selector Style
- </summary>
- </member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayTemplateSelector">
- <summary>
- DayTemplateSelector allows the app writer to provide custom template selection logic
- for a template to apply to each item.
- </summary>
- </member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayTemplate">
- <summary>
- Day Data Template
- </summary>
- </member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewPreChangeAnimation">
- <summary>
- View change animation.
- </summary>
- </member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewPostChangeAnimation">
- <summary>
- View change animation.
- </summary>
- </member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.MaxDate">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.DropDownButtonStyle">
<summary>
- The max date of MonthView
+ DropDownButtonStyle property
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.MinDate">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.MonthViewStyle">
<summary>
- The min date of MonthView
+ The style of drop-down MonthView
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHeader.#cctor">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.NullValueText">
<summary>
- Ctor
+ This property indicates which input string should convert the SelectedDateTime of FXDatePicker into the null value.
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.#ctor(FarsiLibrary.WPF.Controls.FXDatePicker)">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.IsDropDownOpen">
<summary>
- Creates a new instance of FXDatePickerAutomationPeer
+ Whether or not the "popup" for this control is currently open
</summary>
- <param name="owner"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetPattern(System.Windows.Automation.Peers.PatternInterface)">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.IsValid">
<summary>
- Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
+ A property indicating whether the SelectedDateTime is valid or not
</summary>
- <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
- <returns>The object that supports the specified pattern, or null if unsupported.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetAutomationControlTypeCore">
+ <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.Text">
<summary>
- Gets the control type for the element that is associated with the UI Automation peer.
+ Text store the formated SelectedDateTime, if the SelectedDateTime is null, it should store the NullValueText property
</summary>
- <returns>The control type.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetClassNameCore">
+ <member name="T:FarsiLibrary.WPF.Controls.DateSelectionChangedEventHandler">
<summary>
- Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
- differentiates the control represented by this AutomationPeer.
+ The delegate type for handling a selection changed event
</summary>
- <returns>The string that contains the name.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetLocalizedControlTypeCore">
+ <member name="T:FarsiLibrary.WPF.Controls.InvalidEntryEventHandler">
<summary>
- Overrides the GetLocalizedControlTypeCore method for DatePicker
+ The delegate type for handling the InvalidEntry event
</summary>
- <returns></returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXDatePickerAutomationPeer.GetNameCore">
+ <member name="T:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs">
<summary>
- GetNameCore
+ The InvalidEntry event args, occurs when the datepicker can't parse user input string correctly
</summary>
- <returns></returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.#ctor(FarsiLibrary.WPF.Controls.FXMonthView)">
+ <member name="M:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs.#ctor(System.Windows.RoutedEvent,System.String)">
<summary>
- Initializes a new instance of the FXMonthViewAutomationPeer class.
+ Ctor
</summary>
- <param name="owner">Owning MonthView control</param>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetPattern(System.Windows.Automation.Peers.PatternInterface)">
+ <member name="M:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs.InvokeEventHandler(System.Delegate,System.Object)">
<summary>
- Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
+ This method is used to perform the proper type casting in order to
+ call the type-safe InvalidEntryEventHandler delegate for the InvalidEntry event.
</summary>
- <param name="patternInterface">A value from the System.Windows.Automation.Peers.PatternInterface enumeration.</param>
- <returns>The object that supports the specified pattern, or null if unsupported.</returns>
+ <param name="genericHandler">The handler to invoke.</param>
+ <param name="genericTarget">The current object along the event's route.</param>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetAutomationControlTypeCore">
+ <member name="P:FarsiLibrary.WPF.Controls.InvalidEntryEventArgs.Entry">
<summary>
- Gets the control type for the element that is associated with the UI Automation peer.
+ The input string
</summary>
- <returns>The control type.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetClassNameCore">
+ <member name="T:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs">
<summary>
- Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
- differentiates the control represented by this AutomationPeer.
+ The inputs to a selection changed event handler
</summary>
- <returns>The string that contains the name.</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Automation.FXMonthViewAutomationPeer.GetNameCore">
+ <member name="M:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs.#ctor(System.Windows.RoutedEvent,System.Collections.Generic.IEnumerable{System.Nullable{System.DateTime}},System.Collections.Generic.IEnumerable{System.Nullable{System.DateTime}})">
<summary>
-
+ The constructor for date selection changed args
</summary>
- <returns></returns>
+ <param name="id">The event ID for the event about to fire -- should probably be MonthCalendar.DateSelectionChangedEventID</param>
+ <param name="removedDates">The dates that were unselected during this event</param>
+ <param name="addedDates">The dates that were selected during this event</param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewItem.OnMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)">
+ <member name="P:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs.RemovedDates">
<summary>
- Override right-click item selection
+ An IList containing the dates that were unselected during this event
</summary>
- <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Resources.StringLookupExtension.ProvideValue(System.IServiceProvider)">
+ <member name="P:FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs.AddedDates">
<summary>
- Returns localizer string for the specified key
+ An IList containing the dates that were selected during this event
</summary>
</member>
- <member name="T:FarsiLibrary.WPF.Controls.FXDatePicker">
+ <member name="P:FarsiLibrary.WPF.Controls.CalendarDay.Date">
<summary>
- The FXDatePicker control allows the user to enter or select a date and display it in
- the specified format. User can limit the date that can be selected by setting the
- selection range. You might consider using a FXDatePicker control instead of a MonthView
- if you need custom date formatting and limit the selection to just one date.
+ DateTime
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.#cctor">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewButton.#cctor">
<summary>
Ctor
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnApplyTemplate">
- <summary>
- Called when the Template's tree has been generated
- </summary>
- </member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.ToString">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHeader.#cctor">
<summary>
- Returns a string representation for this control. "FXDatePicker, SelectedDateTime:06/02/2006"
+ Ctor
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnLostMouseCapture(System.Windows.Input.MouseEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.CompareYearMonth(System.DateTime,System.DateTime)">
<summary>
- Close the dropdown content if FXDatePicker lost the mouse capture
+ Compare the year and month of dt1 and dt2
</summary>
+ <returns>
+ less than 0 : dt1 &lt; dt2;
+ equal 0 : dt1 == dt2;
+ greater than 0 : dt1 &gt; dt2
+ </returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.CoerceIsDropDownOpen(System.Windows.DependencyObject,System.Object)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.CompareYearMonthDay(System.DateTime,System.DateTime)">
<summary>
- Coerce IsDropDownOpen with IsLoaded, so set IsDropDownOpen to true before UI ready can work
+ Compare the year,month,day of dt1 and dt2
</summary>
+ <returns>
+ less than 0 : dt1 &lt; dt2;
+ equal 0 : dt1 == dt2;
+ greater than 0 : dt1 &gt; dt2
+ </returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnSelectedDateTimeChanged(System.Windows.RoutedPropertyChangedEventArgs{System.Nullable{System.DateTime}})">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.SubtractByMonth(System.DateTime,System.DateTime)">
<summary>
- This method is invoked when the SelectedDateTime property changes.
+ dt1 subtract dt2 to get the month count between them
</summary>
- <param name="e">RoutedPropertyChangedEventArgs contains the old and new value.</param>
+ <returns>the months between dt1 and dt2</returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnDropDownOpened(System.Windows.RoutedEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewHelper.IsWithinRange(System.DateTime,System.DateTime,System.DateTime)">
<summary>
- Raise DropDownOpened event
+ True if date is between start and end
</summary>
- <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnDropDownClosed(System.Windows.RoutedEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Converters.DaysHeaderConverter.GetDayName(System.Int32)">
<summary>
- Raise DropDownClosed event
+ Gets DayName based on the culture.
</summary>
+ <param name="dayValue"></param>
+ <returns></returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnInvalidEntry(FarsiLibrary.WPF.Controls.InvalidEntryEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.#cctor">
<summary>
- This event is invoked when datepicker can't parse the input string correctly
+ Ctor
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.AttachToVisualTree">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.#ctor">
<summary>
- Detaches the EditableTextBox, MonthView from old child tree and attaches them to a new one
+ Ctor
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.DetachFromVisualTree">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.OnApplyTemplate">
<summary>
- Clear the event, and detach our current EditableTextBox from ComboBox
+ When overridden in a derived class, is invoked whenever application code or internal processes call <see cref="M:System.Windows.FrameworkElement.ApplyTemplate"></see>.
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.OnMouseButtonDown(System.Object,System.Windows.Input.MouseButtonEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaisePreviewSelectedDateTimeChanged(FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs)">
<summary>
- If we (or one of our children) are clicked, claim the focus
+ Raise PreviewSelectedDateTimeChanged event.
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.IsDescendant(System.Windows.Media.Visual,System.Windows.Media.Visual)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaiseSelectedDateTimeChanged(FarsiLibrary.WPF.Controls.DateSelectionChangedEventArgs)">
<summary>
- True, if node is derived from reference
+ Raise SelectedDateTimeChanged event.
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.KeyDownHandler(System.Object,System.Windows.Input.KeyEventArgs)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaisePreviewViewDateTimeChanged(System.Windows.RoutedPropertyChangedEventArgs{System.DateTime})">
<summary>
- Called when a key event occurs.
+ Raise PreviewViewDateTimeChanged event.
</summary>
+ <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.KeyboardToggleDropDown(System.Boolean,System.Boolean)">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.RaiseViewDateTimeChanged(System.Windows.RoutedPropertyChangedEventArgs{System.DateTime})">
<summary>
- Close the dropdown and commit the selection if requested.
- Make sure to set the selection after the dropdown has closed
- Don't trigger any unnecessary navigation as a result of changing the selection.
+ Raise ViewDateTimeChanged event.
</summary>
+ <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.SelectFocusableDate">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthView.OnContainerSelectionChanged(System.Object,System.Windows.Controls.SelectionChangedEventArgs)">
<summary>
- Select the focusable date
+ Sync selected value of container control with the SelectedDateTime property.
</summary>
+ <param name="sender"></param>
+ <param name="e"></param>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.IsFocusable(System.Windows.FrameworkElement)">
+ <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.PreviewSelectedDateTimeChanged">
<summary>
- True if the element can be focused
+ Fired when previewing SelectedDateTimeChanged
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXDatePicker.DoFormat">
+ <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.SelectedDateTimeChanged">
<summary>
- Format SelectedDateTime property to a formatted string
+ Fired when the SelectedDateTime property is changed
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.DropDownOpened">
+ <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.PreviewViewDateTimeChanged">
<summary>
- Add / Remove DropDownOpened handler
+ Fired when previewing ViewDateTime changed event.
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.DropDownClosed">
+ <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.ViewDateTimeChanged">
<summary>
- Add / Remove DropDownClosed handler
+ Fired when ViewDateTime is changed
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.InvalidEntry">
+ <member name="E:FarsiLibrary.WPF.Controls.FXMonthView.RecreatingView">
<summary>
- Add / Remove InvalidEntry handler
+ Recreating View event.
</summary>
</member>
- <member name="E:FarsiLibrary.WPF.Controls.FXDatePicker.SelectedDateTimeChanged">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewYear">
<summary>
- An event reporting that the SelectedDateTime property changed.
+ View Year
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.SelectedDateTime">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewMonth">
<summary>
- The DateTime value of FXDatePicker
+ View Month
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.MinDate">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewDay">
<summary>
- The min date of FXDatePicker
+ View Day
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.MaxDate">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewDateTime">
<summary>
- The max date of FXDatePicker
+ Preview DateTime
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ViewDateTime">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.SelectedDateTime">
<summary>
- Preview DateTime
+ SelectedDateTime
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ShowTodayButton">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ShowTodayButton">
<summary>
Show Today Button
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ShowEmptyButton">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ShowEmptyButton">
<summary>
Show Empty Button
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.ShowWeekDayNames">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ShowWeekDayNames">
<summary>
ShowWeekDayNames
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.DateConverter">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ButtonStyle">
<summary>
- This property is used to parse/format between SelectedDateTime and text
+ Button Styles
</summary>
- <remarks>
- ConvertBack is used to customize the parsing logic
- Convert is used to customimze the formatting logic
- If the converter can't parse the input text correctly, throw FormatException will fire InvalidEntry event
- </remarks>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.DropDownButtonStyle">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.WeekDayHeaderStyle">
<summary>
- DropDownButtonStyle property
+ DayHeaderStyle property
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.MonthViewStyle">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.HeaderMonthStyle">
<summary>
- The style of drop-down MonthView
+ Header Month Style property
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.NullValueText">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayContainerStyle">
<summary>
- This property indicates which input string should convert the SelectedDateTime of FXDatePicker into the null value.
+ Day Container Style
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.IsDropDownOpen">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.HeaderYearStyle">
<summary>
- Whether or not the "popup" for this control is currently open
+ Header Year Style property
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.IsValid">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayContainerStyleSelector">
<summary>
- A property indicating whether the SelectedDateTime is valid or not
+ Day Container selector Style
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.FXDatePicker.Text">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayTemplateSelector">
<summary>
- Text store the formated SelectedDateTime, if the SelectedDateTime is null, it should store the NullValueText property
+ DayTemplateSelector allows the app writer to provide custom template selection logic
+ for a template to apply to each item.
</summary>
</member>
- <member name="P:FarsiLibrary.WPF.Controls.CalendarDay.Date">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.DayTemplate">
<summary>
- DateTime
+ Day Data Template
</summary>
</member>
- <member name="M:FarsiLibrary.WPF.Converters.DaysHeaderConverter.GetDayName(System.Int32)">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewPreChangeAnimation">
<summary>
- Gets DayName based on the culture.
+ View change animation.
</summary>
- <param name="dayValue"></param>
- <returns></returns>
</member>
- <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewButton.#cctor">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.ViewPostChangeAnimation">
<summary>
- Ctor
+ View change animation.
</summary>
</member>
- <member name="T:FarsiLibrary.WPF.Controls.ThemeColor">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.MaxDate">
<summary>
- WindowsXP standard theme colors
+ The max date of MonthView
</summary>
</member>
- <member name="F:FarsiLibrary.WPF.Controls.ThemeColor.NormalColor">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthView.MinDate">
<summary>
- Normal Color
+ The min date of MonthView
</summary>
</member>
- <member name="F:FarsiLibrary.WPF.Controls.ThemeColor.Homestead">
+ <member name="P:FarsiLibrary.WPF.Controls.FXMonthViewWeekDayHeaderCell.DayNo">
<summary>
- Homestead
+ DayNo
</summary>
</member>
- <member name="F:FarsiLibrary.WPF.Controls.ThemeColor.Metallic">
+ <member name="M:FarsiLibrary.WPF.Controls.FXMonthViewItem.OnMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)">
<summary>
- Metallic
+ Override right-click item selection
+ </summary>
+ <param name="e"></param>
+ </member>
+ <member name="M:FarsiLibrary.WPF.Resources.StringLookupExtension.ProvideValue(System.IServiceProvider)">
+ <summary>
+ Returns localizer string for the specified key
</summary>
</member>
</members>

0 comments on commit e7a0d28

Please sign in to comment.
Something went wrong with that request. Please try again.