コード例 #1
0
ファイル: Label.cs プロジェクト: incoplex/silverlight-toolkit
        /// <summary>
        /// Handle the IsRequired field property change event.
        /// </summary>
        /// <param name="depObj">The Label that had its IsRequired value changed.</param>
        /// <param name="e">The DependencyPropertyChangedEventArgs for this event.</param>
        private static void OnIsRequiredPropertyChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs e)
        {
            // Dependency property changed
            Label fl = depObj as Label;

            if (fl != null)
            {
                fl.UpdateRequiredState();
            }
        }