Microsoft.Practices.Prism.Regions.Behaviors.ClearChildViewsRegionBehavior.SetClearChildViews C# (CSharp) Méthode

SetClearChildViews() public static méthode

Sets the ClearChildViews attached property in a DependencyObject.
public static SetClearChildViews ( DependencyObject target, bool value ) : void
target DependencyObject The object in which to set the value.
value bool The value of to set in the target object's ClearChildViews attached property.
Résultat void
        public static void SetClearChildViews(DependencyObject target, bool value)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }

            target.SetValue(ClearChildViewsRegionBehavior.ClearChildViewsProperty, value);
        }