21 references to OwnerType
PresentationCore (8)
System\Windows\Input\Command\RoutedCommand.cs (4)
244if(OwnerType == typeof(ApplicationCommands)) 248else if(OwnerType == typeof(NavigationCommands)) 252else if(OwnerType == typeof(MediaCommands)) 256else if(OwnerType == typeof(ComponentCommands))
System\Windows\Input\Command\RoutedUICommand.cs (4)
88if(OwnerType == typeof(ApplicationCommands)) 92else if(OwnerType == typeof(NavigationCommands)) 96else if(OwnerType == typeof(MediaCommands)) 100else if(OwnerType == typeof(ComponentCommands))
PresentationFramework (13)
System\Windows\Input\Command\CommandConverter.cs (4)
72if (command != null && command.OwnerType != null && IsKnownType(command.OwnerType)) 179if (command != null && command.OwnerType != null && IsKnownType(command.OwnerType))
System\Windows\Input\Command\CommandValueSerializer.cs (9)
23if (command == null || command.OwnerType == null) 28if (CommandConverter.IsKnownType(command.OwnerType)) 35Type ownerType = command.OwnerType; 62if (null != command && null != command.OwnerType) 65if (CommandConverter.IsKnownType(command.OwnerType)) 85return $"{typeSerializer.ConvertToString(command.OwnerType, context)}.{command.Name}Command"; 102if (command.OwnerType != null && !CommandConverter.IsKnownType(command.OwnerType)) 104return new Type[] { command.OwnerType };