C
C#•7mo ago
/root/whoami/

Can't make MenuItem of same style as ContextMenu

https://paste.mod.gg/vvyjvtndoatj/0 - Here I have a code for a ContextMenu that expands into more subitems. However, the MenuItem box has an unchangeable style (Screenshot attached). I want to make everything have the same exact style.
BlazeBin - vvyjvtndoatj
A tool for sharing your source code with the world!
No description
35 Replies
/root/whoami/
/root/whoami/OP•7mo ago
I can't even remove the separator on that lmao, someone help pls
/root/whoami/
/root/whoami/OP•7mo ago
btw it's meant to look like this
No description
ero
ero•7mo ago
looks like you'll need to create a custom style for the affected controls it's not trivial
/root/whoami/
/root/whoami/OP•7mo ago
well, i have in fact tried in a way, but what it would do is if i set target to menuitem then it would affect literally every text and make it have a blue border and it would look ugly
ero
ero•7mo ago
in that case you would need to apply the style only when the control is hovered
/root/whoami/
/root/whoami/OP•7mo ago
I was thinking of making like a bunch of contextmenus and using backend code to make the next thing visible, but it just seems to work pretty bad
ero
ero•7mo ago
it's been a while since i've done wpf, so i'm sure someone can elaborate (maybe you have more luck in #gui, can just link to this post). but i do remember creating resource dictionaries which contained styles in which i specifically set the style for different conditions... in case you hadn't found it yet, my first search found this reasult; https://stackoverflow.com/a/34889755/26432683
Buddy
Buddy•7mo ago
We do NOT help with malware! And it is strictly forbidden by Discord ToS.
ero
ero•7mo ago
aw man guy
Buddy
Buddy•7mo ago
Surely
Buddy
Buddy•7mo ago
Surely this would be used for good reasons .. Right?
No description
ero
ero•7mo ago
this is what ticked you off, not the mention of "fodhelper"? lol
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle•7mo ago
you'd be surprised what people ask for help with here
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle•7mo ago
if you're making it for someone else how do you know what it will be used for?
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azrael•7mo ago
Mmm yes, hidden RDP. Which you posted on Discord. No?
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azrael•7mo ago
A screenshot for context is enough. šŸ˜†
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle•7mo ago
so you're remaking an illegal rat but this one is totally legal and you're making it for some guy on linkedin
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azrael•7mo ago
How are we supposed to verify that claim?
Jimmacle
Jimmacle•7mo ago
yeah, in order for this server to not be nuked by discord we have to follow TOS
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle•7mo ago
which means not helping with things like this
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azrael•7mo ago
It may not be illegal, but it sure is sketchy.
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle•7mo ago
despite your claims, RATs are often used for illegal purposes so hopefully you understand where the skepticism is coming from
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azrael•7mo ago
How can we verify that claim?
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle•7mo ago
even if you think it's not illegal i wouldn't be surprised if they'd use it illegally anyway what does a company need a custom built RAT for

Did you find this page helpful?