21 references to OwnerType
PresentationCore (8)
System\Windows\Input\Command\RoutedCommand.cs (4)
245if(OwnerType == typeof(ApplicationCommands)) 249else if(OwnerType == typeof(NavigationCommands)) 253else if(OwnerType == typeof(MediaCommands)) 257else if(OwnerType == typeof(ComponentCommands))
System\Windows\Input\Command\RoutedUICommand.cs (4)
89if(OwnerType == typeof(ApplicationCommands)) 93else if(OwnerType == typeof(NavigationCommands)) 97else if(OwnerType == typeof(MediaCommands)) 101else if(OwnerType == typeof(ComponentCommands))
PresentationFramework (13)
System\Windows\Input\Command\CommandConverter.cs (4)
73if (command != null && command.OwnerType != null && IsKnownType(command.OwnerType)) 180if (command != null && command.OwnerType != null && IsKnownType(command.OwnerType))
System\Windows\Input\Command\CommandValueSerializer.cs (9)
24if (command == null || command.OwnerType == null) 29if (CommandConverter.IsKnownType(command.OwnerType)) 36Type ownerType = command.OwnerType; 63if (null != command && null != command.OwnerType) 66if (CommandConverter.IsKnownType(command.OwnerType)) 86return $"{typeSerializer.ConvertToString(command.OwnerType, context)}.{command.Name}Command"; 103if (command.OwnerType != null && !CommandConverter.IsKnownType(command.OwnerType)) 105return new Type[] { command.OwnerType };