packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Core/Dialogs/Common/DialogControl.cs
///<summary>
/// Calls the hosting dialog, if it exists, to
/// to indicate that a property has changed, and that 
/// the dialog should do whatever is necessary 
/// to propagate the change to the native control.
/// Note that if the dialog isn't set yet, 
/// there are no restrictions on setting the property.
/// </summary>
/// <param name="propName">The name of the property that is changing.</param>
Calls the hosting dialog, if it exists, to
to indicate that a property has changed, and that
the dialog should do whatever is necessary
to propagate the change to the native control.
Note that if the dialog isn't set yet,
there are no restrictions on setting the property.
Calls the hosting dialog if it exists to to indicate that a property has changed and that the dialog should do whatever is necessary to propagate the change to the native control . Note that if the dialog isn ' t set yet there are no restrictions on setting the property .
protected void ApplyPropertyChange(string propName)
        {
            Debug.Assert(!string.IsNullOrEmpty(propName), "Property changed was not specified");
            if (HostingDialog != null)
            {
                HostingDialog.ApplyControlPropertyChange(propName, this);
            }
        }
protected void ApplyPropertyChange ( string propName ) { Debug . Assert ( ! string . IsNullOrEmpty ( propName ) , " " ) ; if ( HostingDialog != null ) { HostingDialog . ApplyControlPropertyChange ( propName , this ) ; } }
Calls the hosting dialog, if it exists, to
to indicate that a property has changed, and that
the dialog should do whatever is necessary
to propagate the change to the native control.
Calls the hosting dialog if it exists to to indicate that a property has changed and that the dialog should do whatever is necessary to propagate the change to the native control .
propName
string
The name of the property that is changing.
The name of the property that is changing .