Click here to Skip to main content
15,867,835 members
Home / Discussions / Graphics
   

Graphics

 
QuestionGraphics for Visual Studio 2008 C++ Pin
The-Irishman14-Nov-23 11:06
The-Irishman14-Nov-23 11:06 
QuestionShadow copy with windows service Pin
Member 1611802317-Oct-23 22:46
Member 1611802317-Oct-23 22:46 
AnswerRe: How to send a windows message from C# to C++ Pin
Victor Nijegorodov5-Jun-23 20:32
Victor Nijegorodov5-Jun-23 20:32 
AnswerRe: How to send a windows message from C# to C++ Pin
jschell6-Jun-23 4:44
jschell6-Jun-23 4:44 
Questionwhat are the differences between pass-by-value and pass-by-reference in C++ Pin
ortegacarey31-May-23 20:30
ortegacarey31-May-23 20:30 
AnswerRe: what are the differences between pass-by-value and pass-by-reference in C++ Pin
Victor Nijegorodov31-May-23 20:47
Victor Nijegorodov31-May-23 20:47 
GeneralRe: what are the differences between pass-by-value and pass-by-reference in C++ Pin
trønderen1-Jun-23 14:45
trønderen1-Jun-23 14:45 
GeneralRe: what are the differences between pass-by-value and pass-by-reference in C++ Pin
Gerry Schmitz1-Jun-23 16:04
mveGerry Schmitz1-Jun-23 16:04 
Answertack snap shot with windows service Pin
sa1114419-Oct-21 23:02
sa1114419-Oct-21 23:02 
GeneralRe: tack snap shot with windows service Pin
OriginalGriff19-Oct-21 23:05
mveOriginalGriff19-Oct-21 23:05 
QuestionUWP Flyout Problem Pin
RWey22-Jun-21 10:39
RWey22-Jun-21 10:39 
I'm having an issue with a nested button flyout that I can't figure out.

( Screenshot of the problem --> Uwp Flyout Issue[^] )

Basically, a hamburger button's flyout contains a Splitview, where the pane is a Listview menu. When a menu item is chosen, the SplitView's content frame navigates to an associated page. Simple enough.

On a menu page, if I have a button with a flyout that contains a ColorPicker, there seems to be some sort of dismiss area overlap problem. I've tried various combination of LightDismissOverlayMode settings on the SplitView and the button flyouts, to no avail.

Here's the hamburgar button within the StackPanel of the main page:
XML
<StackPanel>
    <Button x:Name="BtnMainMenu"
                Content=""
                ToolTipService.ToolTip="Main Menu"
                Margin="10,10,0,0"
                FontFamily="Segoe MDL2 Assets"
                Style="{StaticResource StandardButton}">
        <Button.Flyout>
            <Flyout x:Name="MainMenuFlyout"
                    Placement="TopEdgeAlignedLeft"
                    FlyoutPresenterStyle="{StaticResource MainMenuFlyoutStyle}"
                    Closed="MainMenuFlyout_Closed">
                <SplitView x:Name="MainSplitView"
                           IsPaneOpen="True"
                           DisplayMode="Inline"
                           OpenPaneLength="180">
                    <SplitView.Pane>
                        <ListView
                            x:Name="MainMenuListView"
                            ItemsSource="{x:Bind MenuLinks}"
                            ItemTemplate="{StaticResource MainMenuItemTemplate}"
                            SelectionMode="Single"
                            Background="#FF808080"
                            IsItemClickEnabled="True"
                            ItemClick="MainMenuListView_ItemClick"/>
                    </SplitView.Pane>
                    <SplitView.Content>
                        <Frame x:Name="MainMenuContentFrame"/>
                    </SplitView.Content>
                </SplitView>
            </Flyout>
        </Button.Flyout>
    </Button>
</StackPanel>


... and the main layout StackPanel of the selected menu page that contains the ColorPicker in a button's flyout:
XML
	<StackPanel Background="{StaticResource MenuPageBg}" Width="230" Height="300">
		<Border Style="{StaticResource MenuPageHeaderStyle}">
			<TextBlock Text="Menu 4" Style="{StaticResource MenuPageTitleStyle}"/>
		</Border>
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="10"/>
				<RowDefinition Height="50"/>
				<RowDefinition Height="50"/>
				<RowDefinition Height="Auto"/>
				<RowDefinition Height="50"/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="40"/>
				<ColumnDefinition Width="Auto"/>
			</Grid.ColumnDefinitions>
			<ToggleSwitch Name ="Enabled" OnContent="Enabled" OffContent="Disabled"
						  Grid.Row="1" Grid.Column="1"
						  FontSize="18"/>
			<ToggleSwitch Name="Floating" OnContent="Goodbye World" OffContent="Hello World"
						  Grid.Row="2" Grid.Column="1"
						  FontSize="18"/>
			<Button x:Name="BtnColor" Grid.Row="3" Grid.Column="1"
				Width="49" Height="48" Background="Gray" BorderBrush="{StaticResource WAVGray}" BorderThickness="1">
				<Rectangle Width="30" Height="27">
					<Rectangle.Fill>
						<SolidColorBrush Color="{x:Bind TheColorPicker.Color, Mode=OneWay}"/>
					</Rectangle.Fill>
				</Rectangle>
				<Button.Flyout>
					<Flyout Placement="TopEdgeAlignedLeft">
						<ColorPicker x:Name="TheColorPicker"
						ColorSpectrumShape="Ring"
						IsMoreButtonVisible="False"
						IsColorSliderVisible="True"
						IsColorChannelTextInputVisible="False"
						IsHexInputVisible="False"
						IsAlphaEnabled="True"
						IsAlphaSliderVisible="True"
						IsAlphaTextInputVisible="False"	/>
					</Flyout>
				</Button.Flyout>
			</Button>
		</Grid>
	</StackPanel>
</Page>

Regards,
R. Wey

AnswerRe: UWP Flyout Problem Pin
Gerry Schmitz23-Jun-21 6:38
mveGerry Schmitz23-Jun-21 6:38 
AnswerRe: UWP Flyout Problem Pin
RWey25-Jun-21 6:38
RWey25-Jun-21 6:38 
QuestionDrawing a simple triangle horror when using std::vector Pin
Isawyouoo21-May-21 11:21
Isawyouoo21-May-21 11:21 
AnswerRe: Drawing a simple triangle horror when using std::vector Pin
Graham Breach21-May-21 21:03
Graham Breach21-May-21 21:03 
AnswerRe: Drawing a simple triangle horror when using std::vector Pin
Richard MacCutchan21-May-21 21:37
mveRichard MacCutchan21-May-21 21:37 
QuestionLooking for a C# option for doing simple 2D graphics Pin
MollyJanet13-May-21 8:45
MollyJanet13-May-21 8:45 
QuestionSharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 4:22
RWey15-Apr-21 4:22 
AnswerRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 4:53
mveDave Kreskowiak15-Apr-21 4:53 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 6:16
RWey15-Apr-21 6:16 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Gerry Schmitz15-Apr-21 8:25
mveGerry Schmitz15-Apr-21 8:25 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 9:35
RWey15-Apr-21 9:35 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 9:40
mveDave Kreskowiak15-Apr-21 9:40 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 10:45
RWey15-Apr-21 10:45 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
K3 Reviews9-Oct-23 5:18
K3 Reviews9-Oct-23 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.