public void SetCommandProperty(string commandName, string propertyName, object propertyValue) { ICommandTarget target = this.targets.GetTarget(commandName); if (target == null) { return; } target.SetCommandProperty(commandName, propertyName, propertyValue); }